xml_schema_obj_ops Struct Reference
[Xml_schema_obj]

#include <xml_schema_obj.h>

List of all members.

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)


Detailed Description

xml_schema_obj_ops struct Encapsulator struct for operations of the xml_schema_obj


Member Data Documentation

axis2_status_t( * xml_schema_obj_ops::free)(void *obj, const axis2_env_t *env)

Free the xml_schema_obj

Parameters:
obj pointer to xml_schema_obj struct
env pointer to environment struct
Returns:
AXIS2_SUCCESS on success else FAILURE

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

Parameters:
obj xml_schema_obj struct
env environment struct
Returns:
pointer to hashtable if available , NULL otherwise

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

Parameters:
obj xml_schema_obj
env pointer to environment struct
Returns:
xml_schema_types_t

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

Parameters:
obj pointer to xml_schema_obj struct instance
env pointer to environment
Returns:
the line number

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

Parameters:
obj pointer to xml_schema_obj struct instance
env pointer to environment
Returns:
AXIS2_SUCCESS

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

Parameters:
obj pointer to xml_schema_obj struct instance
env environment struct
Returns:
the line position

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

Parameters:
obj pointer to xml_schema_obj or its derived struct instance
env environment struct
line_pos line position
Returns:
AXIS2_SUCCESS

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

Parameters:
obj xml_schema_obj struct instance
env pointer to environment
Returns:
pointer to source uri string

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

Parameters:
obj xml_schema_obj struct instance
env pointer to environment
source_uri source uri string
Returns:
env pointer to environment struct

axis2_bool_t( * xml_schema_obj_ops::equals)(void *obj, const axis2_env_t *env, void *obj_comp)

compares two xml_schema_obj instances

Parameters:
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 .

Parameters:
obj xml_schema_obj instance
env environment struct
key key
value value
Returns:
AXIS2_SUCCESS on success, AXIS2_FAILURE otherwise

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.

Parameters:
obj xml_schema_obj or its subtype
env environment struct
Returns:
pointer to axis2_hash_t , NULL of not intialized


The documentation for this struct was generated from the following file:
Generated on Wed Dec 20 20:14:15 2006 for Axis2/C by  doxygen 1.5.1