00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef XML_SCHEMA_CONTENT_PROCESSING_H
00019 #define XML_SCHEMA_CONTENT_PROCESSING_H
00020
00028 #include <xml_schema_defines.h>
00029 #include <xml_schema_enum.h>
00030
00037 #ifdef __cplusplus
00038 extern "C"
00039 {
00040 #endif
00041
00042
00043 typedef struct xml_schema_content_processing
00044 xml_schema_content_processing_t;
00045
00046 typedef struct xml_schema_content_processing_ops
00047 xml_schema_content_processing_ops_t;
00048
00049 struct xml_schema_content_processing_ops
00050 {
00055 axis2_status_t (AXIS2_CALL *
00056 free) (void *content_processing,
00057 const axis2_env_t *env);
00058
00059 axis2_hash_t *(AXIS2_CALL *
00060 super_objs) (void *content_processing,
00061 const axis2_env_t *env);
00062
00063 xml_schema_types_t (AXIS2_CALL *
00064 get_type) (void *content_processing,
00065 const axis2_env_t *env);
00066
00067 xml_schema_enum_t *(AXIS2_CALL *
00068 get_base_impl) (void *content_processing,
00069 const axis2_env_t *env);
00070
00071 axis2_array_list_t *(AXIS2_CALL *
00072 get_values)(void *content_processing,
00073 const axis2_env_t *env);
00074
00075 };
00076
00077 struct xml_schema_content_processing
00078 {
00079 xml_schema_enum_t base;
00080 xml_schema_content_processing_ops_t *ops;
00081 };
00082
00083 AXIS2_EXTERN xml_schema_content_processing_t * AXIS2_CALL
00084 xml_schema_content_processing_create(const axis2_env_t *env,
00085 const axis2_char_t* value);
00086
00087
00088
00089 #define XML_SCHEMA_CONTENT_PROCESSING_FREE(content_processing, env) \
00090 (((xml_schema_content_processing_t *) content_processing)->ops->\
00091 free(content_processing, env))
00092
00093 #define XML_SCHEMA_CONTENT_PROCESSING_SUPER_OBJS(content_processing, env) \
00094 (((xml_schema_content_processing_t *) content_processing)->ops->\
00095 super_objs(content_processing, env))
00096
00097 #define XML_SCHEMA_CONTENT_PROCESSING_GET_TYPE(content_processing, env) \
00098 (((xml_schema_content_processing_t *) content_processing)->ops->\
00099 get_type(content_processing, env))
00100
00101
00102 #define XML_SCHEMA_CONTENT_PROCESSING_GET_BASE_IMPL(content_processing, env) \
00103 (((xml_schema_content_processing_t *) content_processing)->ops->\
00104 get_base_impl(content_processing, env))
00105
00106 #define XML_SCHEMA_CONTENT_PROCESSING_GET_VALUES(content_processing, env) \
00107 (((xml_schema_content_processing_t *) content_processing)->ops->\
00108 get_values(content_processing, env))
00109
00110
00112 #ifdef __cplusplus
00113 }
00114 #endif
00115 #endif