00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef WODEN_WSDL10_PART_H
00018 #define WODEN_WSDL10_PART_H
00019
00026 #include <woden.h>
00027 #include <woden_wsdl10_part_element.h>
00028 #include <woden_nested_configurable.h>
00029 #include <axis2_qname.h>
00030
00036 typedef union woden_wsdl10_part_base woden_wsdl10_part_base_t;
00037 typedef struct woden_wsdl10_part woden_wsdl10_part_t;
00038 typedef struct woden_wsdl10_part_ops woden_wsdl10_part_ops_t;
00039
00040
00041 #ifdef __cplusplus
00042 extern "C"
00043 {
00044 #endif
00045
00046 struct woden_wsdl10_part_ops
00047 {
00052 axis2_status_t (AXIS2_CALL *
00053 free) (void *part,
00054 const axis2_env_t *env);
00055
00056 axis2_hash_t *(AXIS2_CALL *
00057 super_objs) (void *part,
00058 const axis2_env_t *env);
00059
00060 woden_obj_types_t (AXIS2_CALL *
00061 type) (void *part,
00062 const axis2_env_t *env);
00066 struct woden_nested_configurable *(AXIS2_CALL *
00067 get_base_impl) (
00068 void *part,
00069 const axis2_env_t *env);
00070
00071 axis2_qname_t *(AXIS2_CALL *
00072 get_qname) (
00073 void *part,
00074 const axis2_env_t *env);
00075
00076 void *(AXIS2_CALL *
00077 get_element_declaration) (
00078 void *part,
00079 const axis2_env_t *env);
00080
00081 void *(AXIS2_CALL *
00082 to_element) (
00083 void *part,
00084 const axis2_env_t *env);
00085
00086
00087
00088
00089 axis2_status_t (AXIS2_CALL *
00090 set_element_declaration) (
00091 void *part,
00092 const axis2_env_t *env,
00093 void *element);
00094
00095 axis2_status_t (AXIS2_CALL *
00096 set_types) (
00097 void *part,
00098 const axis2_env_t *env,
00099 void *types);
00100 };
00101
00102 union woden_wsdl10_part_base
00103 {
00104 woden_nested_configurable_t nested_configurable;
00105 woden_wsdl10_part_element_t part_element;
00106 };
00107
00108 struct woden_wsdl10_part
00109 {
00110 woden_wsdl10_part_base_t base;
00111 woden_wsdl10_part_ops_t *ops;
00112 };
00113
00114 AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
00115 woden_wsdl10_part_create(
00116 const axis2_env_t *env);
00117
00118
00119
00120 AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
00121 woden_wsdl10_part_to_part_element(
00122 void *part,
00123 const axis2_env_t *env);
00124
00125 AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
00126 woden_wsdl10_part_to_nested_configurable(
00127 void *part,
00128 const axis2_env_t *env);
00129
00130 AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
00131 woden_wsdl10_part_to_configurable(
00132 void *part,
00133 const axis2_env_t *env);
00134
00135 AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
00136 woden_wsdl10_part_to_nested_element(
00137 void *part,
00138 const axis2_env_t *env);
00139
00140 AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
00141 woden_wsdl10_part_to_configurable_element(
00142 void *part,
00143 const axis2_env_t *env);
00144
00145 AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
00146 woden_wsdl10_part_to_documentable_element(
00147 void *part,
00148 const axis2_env_t *env);
00149
00150 AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
00151 woden_wsdl10_part_to_documentable(
00152 void *part,
00153 const axis2_env_t *env);
00154
00155 AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
00156 woden_wsdl10_part_to_attr_extensible(
00157 void *part,
00158 const axis2_env_t *env);
00159
00160 AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
00161 woden_wsdl10_part_to_element_extensible(
00162 void *part,
00163 const axis2_env_t *env);
00164
00165
00166 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00167 woden_wsdl10_part_resolve_methods(
00168 woden_wsdl10_part_t *part,
00169 const axis2_env_t *env,
00170 woden_wsdl10_part_t *part_impl,
00171 axis2_hash_t *methods);
00172
00173
00174 #define WODEN_WSDL10_PART_FREE(part, env) \
00175 (((woden_wsdl10_part_t *) part)->ops->\
00176 free(part, env))
00177
00178 #define WODEN_WSDL10_PART_SUPER_OBJS(part, env) \
00179 (((woden_wsdl10_part_t *) part)->ops->\
00180 super_objs(part, env))
00181
00182 #define WODEN_WSDL10_PART_TYPE(part, env) \
00183 (((woden_wsdl10_part_t *) part)->ops->\
00184 type(part, env))
00185
00186 #define WODEN_WSDL10_PART_GET_BASE_IMPL(part, env) \
00187 (((woden_wsdl10_part_t *) part)->ops->\
00188 get_base_impl(part, env))
00189
00190 #define WODEN_WSDL10_PART_GET_QNAME(part, env) \
00191 (((woden_wsdl10_part_t *) part)->ops->\
00192 get_qname(part, env))
00193
00194 #define WODEN_WSDL10_PART_GET_ELEMENT_DECLARATION(part, env) \
00195 (((woden_wsdl10_part_t *) part)->ops->\
00196 get_element_declaration(part, env))
00197
00198 #define WODEN_WSDL10_PART_TO_ELEMENT(part, env) \
00199 (((woden_wsdl10_part_t *) part)->ops->\
00200 to_element(part, env))
00201
00202 #define WODEN_WSDL10_PART_SET_ELEMENT_DECLARATION(part, env, element) \
00203 (((woden_wsdl10_part_t *) part)->ops->\
00204 set_element_declaration(part, env, element))
00205
00206 #define WODEN_WSDL10_PART_SET_TYPES(part, env, types) \
00207 (((woden_wsdl10_part_t *) part)->ops->\
00208 set_types(part, env, types))
00209
00211 #ifdef __cplusplus
00212 }
00213 #endif
00214 #endif