00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef WODEN_WSDL10_PART_ELEMENT_H
00019 #define WODEN_WSDL10_PART_ELEMENT_H
00020
00028 #include <axis2_allocator.h>
00029 #include <axis2_env.h>
00030 #include <axis2_error.h>
00031 #include <axis2_string.h>
00032 #include <axis2_utils.h>
00033 #include <axis2_hash.h>
00034 #include <axis2_qname.h>
00035 #include <axis2_uri.h>
00036 #include <axis2_array_list.h>
00037 #include <woden.h>
00038 #include <woden_documentable_element.h>
00039 #include <woden_configurable_element.h>
00040 #include <woden_nested_element.h>
00041
00042 #ifdef __cplusplus
00043 extern "C"
00044 {
00045 #endif
00046
00047 typedef struct woden_wsdl10_part_element woden_wsdl10_part_element_t;
00048 typedef struct woden_wsdl10_part_element_ops woden_wsdl10_part_element_ops_t;
00049 typedef union woden_wsdl10_part_element_base woden_wsdl10_part_element_base_t;
00050
00056 struct woden_wsdl10_part_element_ops
00057 {
00062 axis2_status_t (AXIS2_CALL *
00063 free) (
00064 void *part_element,
00065 const axis2_env_t *env);
00066
00067 woden_obj_types_t (AXIS2_CALL *
00068 type) (
00069 void *part_element,
00070 const axis2_env_t *env);
00071
00079 axis2_status_t (AXIS2_CALL *
00080 set_element_qname) (
00081 void *iface_fault_ele,
00082 const axis2_env_t *env,
00083 axis2_qname_t *element);
00084
00085 axis2_qname_t *(AXIS2_CALL *
00086 get_element_qname) (
00087 void *iface_fault_ele,
00088 const axis2_env_t *env);
00089
00100 void *(AXIS2_CALL *
00101 get_element) (
00102 void *iface_fault_ele,
00103 const axis2_env_t *env);
00104
00105 axis2_status_t (AXIS2_CALL *
00106 set_qname) (
00107 void *iface_fault_ele,
00108 const axis2_env_t *env,
00109 axis2_qname_t *qname);
00110
00111 axis2_qname_t *(AXIS2_CALL *
00112 get_qname) (
00113 void *iface_fault_ele,
00114 const axis2_env_t *env);
00115
00116
00117 };
00118
00119 union woden_wsdl10_part_element_base
00120 {
00121 woden_documentable_element_t documentable_element;
00122 woden_configurable_element_t configurable_element;
00123 woden_nested_element_t nested_element;
00124 };
00125
00126 struct woden_wsdl10_part_element
00127 {
00128 woden_wsdl10_part_element_base_t base;
00129 woden_wsdl10_part_element_ops_t *ops;
00130 };
00131
00132 AXIS2_EXTERN woden_wsdl10_part_element_t * AXIS2_CALL
00133 woden_wsdl10_part_element_create(
00134 const axis2_env_t *env);
00135
00136
00137 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00138 woden_wsdl10_part_element_resolve_methods(
00139 woden_wsdl10_part_element_t *part_element,
00140 const axis2_env_t *env,
00141 axis2_hash_t *methods);
00142
00143
00144 #define WODEN_WSDL10_PART_ELEMENT_FREE(part_element, env) \
00145 (((woden_wsdl10_part_element_t *) part_element)->ops->\
00146 free (part_element, env))
00147
00148 #define WODEN_WSDL10_PART_ELEMENT_TYPE(part_element, env) \
00149 (((woden_wsdl10_part_element_t *) part_element)->ops->\
00150 type (part_element, env))
00151
00152 #define WODEN_WSDL10_PART_ELEMENT_SET_ELEMENT_QNAME(part_element, env, element) \
00153 (((woden_wsdl10_part_element_t *) part_element)->ops->\
00154 set_element_qname (part_element, env, element))
00155
00156 #define WODEN_WSDL10_PART_ELEMENT_GET_ELEMENT_QNAME(part_element, env) \
00157 (((woden_wsdl10_part_element_t *) part_element)->ops->\
00158 get_element_qname (part_element, env))
00159
00160 #define WODEN_WSDL10_PART_ELEMENT_GET_ELEMENT(part_element, env) \
00161 (((woden_wsdl10_part_element_t *) part_element)->ops->\
00162 get_element (part_element, env))
00163
00164 #define WODEN_WSDL10_PART_ELEMENT_SET_QNAME(part_element, env, qname) \
00165 (((woden_wsdl10_part_element_t *) part_element)->ops->\
00166 set_qname (part_element, env, qname))
00167
00168 #define WODEN_WSDL10_PART_ELEMENT_GET_QNAME(part_element, env) \
00169 (((woden_wsdl10_part_element_t *) part_element)->ops->\
00170 get_qname (part_element, env))
00171
00172
00173
00174
00176 #ifdef __cplusplus
00177 }
00178 #endif
00179 #endif