#include <xml_schema_obj.h>
Public Attributes | |
axis2_status_t(* | free )(void *obj, const axis2_env_t *env) |
axis2_hash_t *(* | super_objs )(void *obj, const axis2_env_t *env) |
xml_schema_types_t(* | get_type )(void *obj, const axis2_env_t *env) |
int(* | get_line_num )(void *obj, const axis2_env_t *env) |
axis2_status_t(* | set_line_num )(void *obj, const axis2_env_t *env, int line_num) |
int(* | get_line_pos )(void *obj, const axis2_env_t *env) |
axis2_status_t(* | set_line_pos )(void *obj, const axis2_env_t *env, int line_pos) |
axis2_char_t *(* | get_source_uri )(void *obj, const axis2_env_t *env) |
axis2_status_t(* | set_source_uri )(void *obj, const axis2_env_t *env, axis2_char_t *source_uri) |
axis2_bool_t(* | equals )(void *obj, const axis2_env_t *env, void *obj_comp) |
axis2_status_t(* | add_meta_info )(void *obj, const axis2_env_t *env, axis2_char_t *key, void *value) |
axis2_hash_t *(* | get_meta_info )(void *obj, const axis2_env_t *env) |
axis2_status_t( * xml_schema_obj_ops::free)(void *obj, const axis2_env_t *env) |
Free the xml_schema_obj
obj | pointer to xml_schema_obj struct | |
env | pointer to environment struct |
axis2_hash_t*( * xml_schema_obj_ops::super_objs)(void *obj, const axis2_env_t *env) |
returns a hashtable containing pointers to base struct instances
obj | xml_schema_obj struct | |
env | environment struct |
xml_schema_types_t( * xml_schema_obj_ops::get_type)(void *obj, const axis2_env_t *env) |
get the type of the derived struct instance eg :- xml_schema_annotated_t is a derived type of xml_schema_obj, If this function is called on a xml_schema_annotated pointer it will return XML_SCHEMA_ANNOTATED enum value xml_schema_types_t is defined as an enumaration
obj | xml_schema_obj | |
env | pointer to environment struct |
int( * xml_schema_obj_ops::get_line_num)(void *obj, const axis2_env_t *env) |
get the line number in xml document corresponding to this struct instance
obj | pointer to xml_schema_obj struct instance | |
env | pointer to environment |
axis2_status_t( * xml_schema_obj_ops::set_line_num)(void *obj, const axis2_env_t *env, int line_num) |
set the line number in xml document corresponding to this struct instance
obj | pointer to xml_schema_obj struct instance | |
env | pointer to environment |
int( * xml_schema_obj_ops::get_line_pos)(void *obj, const axis2_env_t *env) |
get line positon in xml document corresponding to this struct instance
obj | pointer to xml_schema_obj struct instance | |
env | environment struct |
axis2_status_t( * xml_schema_obj_ops::set_line_pos)(void *obj, const axis2_env_t *env, int line_pos) |
set line position in xml document corresponding to this struct instance
obj | pointer to xml_schema_obj or its derived struct instance | |
env | environment struct | |
line_pos | line position |
axis2_char_t*( * xml_schema_obj_ops::get_source_uri)(void *obj, const axis2_env_t *env) |
get the source uri of xml schema obj
obj | xml_schema_obj struct instance | |
env | pointer to environment |
axis2_status_t( * xml_schema_obj_ops::set_source_uri)(void *obj, const axis2_env_t *env, axis2_char_t *source_uri) |
get the source uri of xml schema obj
obj | xml_schema_obj struct instance | |
env | pointer to environment | |
source_uri | source uri string |
axis2_bool_t( * xml_schema_obj_ops::equals)(void *obj, const axis2_env_t *env, void *obj_comp) |
compares two xml_schema_obj instances
obj | xml_schema_obj instance | |
env | environment struct | |
obj_comp | xml_schema_obj instance to be compared | |
AXIS2_TRUE | if equals , AXIS2_FALSE otherwise |
axis2_status_t( * xml_schema_obj_ops::add_meta_info)(void *obj, const axis2_env_t *env, axis2_char_t *key, void *value) |
Add a value to meta info hashtable if hashtable will be created, when this function is called for the first time .
obj | xml_schema_obj instance | |
env | environment struct | |
key | key | |
value | value |
axis2_hash_t*( * xml_schema_obj_ops::get_meta_info)(void *obj, const axis2_env_t *env) |
get meta info hashtable , will be null if it does not contain any meta infomation.
obj | xml_schema_obj or its subtype | |
env | environment struct |