00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef XML_SCHEMA_ATTRIBUTE_GROUP_REF_H
00018 #define XML_SCHEMA_ATTRIBUTE_GROUP_REF_H
00019
00028 #include <axis2_qname.h>
00029 #include <xml_schema_particle.h>
00030 #include <xml_schema_obj_collection.h>
00031 #include <xml_schema_any_attribute.h>
00032 #include <xml_schema_content_processing.h>
00033 #include <xml_schema_simple_type.h>
00034
00035
00041 typedef struct xml_schema_attribute_group_ref
00042 xml_schema_attribute_group_ref_t;
00043 typedef struct xml_schema_attribute_group_ref_ops
00044 xml_schema_attribute_group_ref_ops_t;
00045
00046 #ifdef __cplusplus
00047 extern "C"
00048 {
00049 #endif
00050
00051 struct xml_schema_attribute_group_ref_ops
00052 {
00053 axis2_status_t (AXIS2_CALL *
00054 free) (
00055 void *grp_ref,
00056 const axis2_env_t *env);
00057
00058 xml_schema_types_t (AXIS2_CALL *
00059 get_type)(
00060 void *grp_ref,
00061 const axis2_env_t *env);
00062
00063 axis2_hash_t* (AXIS2_CALL *
00064 super_objs)(
00065 void *grp_ref,
00066 const axis2_env_t *env);
00067
00068
00069 xml_schema_annotated_t *(AXIS2_CALL *
00070 get_base_impl)(
00071 void *grp_ref,
00072 const axis2_env_t *env);
00073
00074
00075 axis2_qname_t* (AXIS2_CALL *
00076 get_ref_qname)(void *grp_ref,
00077 const axis2_env_t *env);
00078
00079 axis2_status_t (AXIS2_CALL *
00080 set_ref_qname)(void *grp_ref,
00081 const axis2_env_t *env,
00082 axis2_qname_t *ref_name);
00083
00084 };
00085
00086 struct xml_schema_attribute_group_ref
00087 {
00088 xml_schema_annotated_t base;
00089 xml_schema_attribute_group_ref_ops_t *ops;
00090 };
00091
00092 AXIS2_EXTERN xml_schema_attribute_group_ref_t * AXIS2_CALL
00093 xml_schema_attribute_group_ref_create(const axis2_env_t *env);
00094
00095
00096
00097 #define XML_SCHEMA_ATTRIBUTE_GROUP_REF_FREE(grp_ref, env) \
00098 (((xml_schema_attribute_group_ref_t *) grp_ref)->ops->free(grp_ref, env))
00099
00100 #define XML_SCHEMA_ATTRIBUTE_GROUP_REF_GET_BASE_IMPL(grp_ref, env) \
00101 (((xml_schema_attribute_group_ref_t *) grp_ref)->ops->get_base_impl(grp_ref, env))
00102
00103 #define XML_SCHEMA_ATTRIBUTE_GROUP_REF_GET_TYPE(grp_ref, env) \
00104 (((xml_schema_attribute_group_ref_t *) grp_ref)->ops->get_type(grp_ref, env))
00105
00106 #define XML_SCHEMA_ATTRIBUTE_GROUP_REF_SUPER_OBJS(grp_ref, env) \
00107 (((xml_schema_attribute_group_ref_t *) grp_ref)->ops->super_objs(grp_ref, env))
00108
00109
00110 #define XML_SCHEMA_ATTRIBUTE_GROUP_REF_GET_REF_QNAME(grp_ref, env) \
00111 (((xml_schema_attribute_group_ref_t *) grp_ref)->ops->\
00112 get_ref_qname(grp_ref, env))
00113
00114 #define XML_SCHEMA_ATTRIBUTE_GROUP_REF_SET_REF_QNAME(grp_ref, env, ref_qname) \
00115 (((xml_schema_attribute_group_ref_t *) grp_ref)->ops->\
00116 set_ref_qname(grp_ref, env, ref_qname))
00117
00118
00120 #ifdef __cplusplus
00121 }
00122 #endif
00123 #endif