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
00036 #ifdef __cplusplus
00037 extern "C"
00038 {
00039 #endif
00040
00041
00042 typedef struct xml_schema_content_processing
00043 xml_schema_content_processing_t;
00044
00045 typedef struct xml_schema_content_processing_ops
00046 xml_schema_content_processing_ops_t;
00047
00048 struct xml_schema_content_processing_ops
00049 {
00054 axis2_status_t (AXIS2_CALL *
00055 free) (void *content_processing,
00056 const axis2_env_t *env);
00057
00058 axis2_hash_t *(AXIS2_CALL *
00059 super_objs) (void *content_processing,
00060 const axis2_env_t *env);
00061
00062 xml_schema_types_t (AXIS2_CALL *
00063 get_type) (void *content_processing,
00064 const axis2_env_t *env);
00065
00066 xml_schema_enum_t *(AXIS2_CALL *
00067 get_base_impl) (void *content_processing,
00068 const axis2_env_t *env);
00069
00070 axis2_array_list_t *(AXIS2_CALL *
00071 get_values)(void *content_processing,
00072 const axis2_env_t *env);
00073
00074 };
00075
00076 struct xml_schema_content_processing
00077 {
00078 xml_schema_enum_t base;
00079 xml_schema_content_processing_ops_t *ops;
00080 };
00081
00082 AXIS2_EXTERN xml_schema_content_processing_t * AXIS2_CALL
00083 xml_schema_content_processing_create(const axis2_env_t *env,
00084 const axis2_char_t* value);
00085
00086
00087
00088 #define XML_SCHEMA_CONTENT_PROCESSING_FREE(content_processing, env) \
00089 (((xml_schema_content_processing_t *) content_processing)->ops->\
00090 free(content_processing, env))
00091
00092 #define XML_SCHEMA_CONTENT_PROCESSING_SUPER_OBJS(content_processing, env) \
00093 (((xml_schema_content_processing_t *) content_processing)->ops->\
00094 super_objs(content_processing, env))
00095
00096 #define XML_SCHEMA_CONTENT_PROCESSING_GET_TYPE(content_processing, env) \
00097 (((xml_schema_content_processing_t *) content_processing)->ops->\
00098 get_type(content_processing, env))
00099
00100
00101 #define XML_SCHEMA_CONTENT_PROCESSING_GET_BASE_IMPL(content_processing, env) \
00102 (((xml_schema_content_processing_t *) content_processing)->ops->\
00103 get_base_impl(content_processing, env))
00104
00105 #define XML_SCHEMA_CONTENT_PROCESSING_GET_VALUES(content_processing, env) \
00106 (((xml_schema_content_processing_t *) content_processing)->ops->\
00107 get_values(content_processing, env))
00108
00109
00111 #ifdef __cplusplus
00112 }
00113 #endif
00114 #endif