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