woden_wsdl10_soap_module_element.h

Go to the documentation of this file.
00001 /*
00002  * Licensed to the Apache Software Foundation (ASF) under one or more
00003  * contributor license agreements.  See the NOTICE file distributed with
00004  * this work for additional information regarding copyright ownership.
00005  * The ASF licenses this file to You under the Apache License, Version 2.0
00006  * (the "License"); you may not use this file except in compliance with
00007  * the License.  You may obtain a copy of the License at
00008  *
00009  *      http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 #ifndef WODEN_WSDL10_SOAP_MODULE_ELEMENT_H
00019 #define WODEN_WSDL10_SOAP_MODULE_ELEMENT_H
00020 
00029 #include <axis2_allocator.h>
00030 #include <axis2_env.h>
00031 #include <axis2_error.h>
00032 #include <axis2_string.h>
00033 #include <axis2_utils.h>
00034 #include <axis2_hash.h>
00035 #include <axis2_qname.h>
00036 #include <axis2_uri.h>
00037 #include <axis2_array_list.h>
00038 #include <woden.h>
00039 #include <woden_ext_element.h>
00040 #include <woden_attr_extensible.h>
00041 #include <woden_element_extensible.h>
00042 
00043 #ifdef __cplusplus
00044 extern "C"
00045 {
00046 #endif
00047 
00048 typedef struct woden_wsdl10_soap_module_element woden_wsdl10_soap_module_element_t;
00049 typedef struct woden_wsdl10_soap_module_element_ops woden_wsdl10_soap_module_element_ops_t;
00050 typedef union woden_wsdl10_soap_module_element_base woden_wsdl10_soap_module_element_base_t;
00051 
00057 struct woden_wsdl10_soap_module_element_ops
00058 {
00063     axis2_status_t (AXIS2_CALL *
00064     free) (
00065             void *soap_module_element,
00066             const axis2_env_t *env);
00067  
00068     woden_obj_types_t (AXIS2_CALL *
00069     type) (
00070             void *soap_module_element,
00071             const axis2_env_t *env);
00072 
00073     axis2_status_t (AXIS2_CALL *
00074     set_ref) (
00075             void *soap_module_element,
00076             const axis2_env_t *env,
00077             axis2_uri_t *uri);
00078 
00079     axis2_uri_t *(AXIS2_CALL *
00080     get_ref) (
00081             void *soap_module_element,
00082             const axis2_env_t *env); 
00083  
00084     axis2_status_t (AXIS2_CALL *
00085     set_parent_element) (
00086             void *soap_module_element,
00087             const axis2_env_t *env,
00088             void *wsdl_el);
00089 
00090     void *(AXIS2_CALL *
00091     get_parent_element) (
00092             void *soap_module_element,
00093             const axis2_env_t *env); 
00094   
00095     axis2_status_t (AXIS2_CALL *
00096     add_documentation_element) (
00097             void *soap_module_element,
00098             const axis2_env_t *env,
00099             void *doc_el);
00100   
00101     axis2_status_t (AXIS2_CALL *
00102     set_soap_binding_op_exts) (
00103             void *soap_module_element,
00104             const axis2_env_t *env,
00105             void *soap_binding_op_exts);
00106 
00107     void *(AXIS2_CALL *
00108     get_soap_binding_op_exts) (
00109             void *soap_module_element,
00110             const axis2_env_t *env); 
00111  
00112     axis2_status_t (AXIS2_CALL *
00113     set_soap_address_exts) (
00114             void *soap_module_element,
00115             const axis2_env_t *env,
00116             void *soap_address_exts);
00117 
00118     void *(AXIS2_CALL *
00119     get_soap_address_exts) (
00120             void *soap_module_element,
00121             const axis2_env_t *env); 
00122 
00123 
00124     axis2_array_list_t *(AXIS2_CALL *
00125     get_documentation_elements) (
00126             void *soap_module_element,
00127             const axis2_env_t *env);
00128  
00129 };
00130 
00131 union woden_wsdl10_soap_module_element_base
00132 {
00133     woden_ext_element_t ext_element;
00134     woden_attr_extensible_t attr_extensible;
00135     woden_element_extensible_t element_extensible;
00136 };
00137 
00138 struct woden_wsdl10_soap_module_element
00139 {
00140     woden_wsdl10_soap_module_element_base_t base;
00141     woden_wsdl10_soap_module_element_ops_t *ops;
00142 };
00143 
00144 AXIS2_EXTERN woden_wsdl10_soap_module_element_t * AXIS2_CALL
00145 woden_wsdl10_soap_module_element_create(
00146         const axis2_env_t *env);
00147 
00148 /************************Woden C Internal Methods******************************/
00149 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00150 woden_wsdl10_soap_module_element_resolve_methods(
00151         woden_wsdl10_soap_module_element_t *soap_module_element,
00152         const axis2_env_t *env,
00153         axis2_hash_t *methods);
00154 /************************End of Woden C Internal Methods***********************/
00155 
00156 #define WODEN_WSDL10_SOAP_MODULE_ELEMENT_FREE(soap_module_element, env) \
00157       (((woden_wsdl10_soap_module_element_t *) soap_module_element)->ops->\
00158          free (soap_module_element, env))
00159 
00160 #define WODEN_WSDL10_SOAP_MODULE_ELEMENT_TYPE(soap_module_element, env) \
00161       (((woden_wsdl10_soap_module_element_t *) soap_module_element)->ops->\
00162          type (soap_module_element, env))
00163 
00164 #define WODEN_WSDL10_SOAP_MODULE_ELEMENT_SET_REF(soap_module_element, env, uri) \
00165       (((woden_wsdl10_soap_module_element_t *) soap_module_element)->ops->\
00166          set_ref (soap_module_element, env, uri))
00167 
00168 #define WODEN_WSDL10_SOAP_MODULE_ELEMENT_GET_REF(soap_module_element, env) \
00169       (((woden_wsdl10_soap_module_element_t *) soap_module_element)->ops->\
00170         get_ref  (soap_module_element, env))
00171 
00172 #define WODEN_WSDL10_SOAP_MODULE_ELEMENT_SET_PARENT_ELEMENT(soap_module_element, env, wsdl_el) \
00173       (((woden_wsdl10_soap_module_element_t *) soap_module_element)->ops->\
00174          set_parent_element (soap_module_element, env, wsdl_el))
00175 
00176 #define WODEN_WSDL10_SOAP_MODULE_ELEMENT_GET_PARENT_ELEMENT(soap_module_element, env) \
00177       (((woden_wsdl10_soap_module_element_t *) soap_module_element)->ops->\
00178         get_parent_element  (soap_module_element, env))
00179 
00180 #define WODEN_WSDL10_SOAP_MODULE_ELEMENT_ADD_DOCUMENTATION_ELEMENT(soap_module_element, env, doc_el) \
00181       (((woden_wsdl10_soap_module_element_t *) soap_module_element)->ops->\
00182         add_documentation_element  (soap_module_element, env, doc_el))
00183 
00184 #define WODEN_WSDL10_SOAP_MODULE_ELEMENT_GET_DOCUMENTATION_ELEMENTS(soap_module_element, env) \
00185       (((woden_wsdl10_soap_module_element_t *) soap_module_element)->ops->\
00186         get_documentation_elements  (soap_module_element, env))
00187 
00188 #define WODEN_WSDL10_SOAP_MODULE_ELEMENT_SET_SOAP_ADDRESS_EXTS(soap_module_element, env, doc_el) \
00189       (((woden_wsdl10_soap_module_element_t *) soap_module_element)->ops->\
00190         set_soap_address_exts  (soap_module_element, env, doc_el))
00191 
00192 #define WODEN_WSDL10_SOAP_MODULE_ELEMENT_GET_SOAP_ADDRESS_EXTS(soap_module_element, env) \
00193       (((woden_wsdl10_soap_module_element_t *) soap_module_element)->ops->\
00194         get_soap_address_exts  (soap_module_element, env))
00195 
00196 
00197 #define WODEN_WSDL10_SOAP_MODULE_ELEMENT_SET_SOAP_BINDING_OP_EXTS(soap_module_element, env, doc_el) \
00198       (((woden_wsdl10_soap_module_element_t *) soap_module_element)->ops->\
00199         set_soap_binding_op_exts  (soap_module_element, env, doc_el))
00200 
00201 #define WODEN_WSDL10_SOAP_MODULE_ELEMENT_GET_SOAP_BINDING_OP_EXTS(soap_module_element, env) \
00202       (((woden_wsdl10_soap_module_element_t *) soap_module_element)->ops->\
00203         get_soap_binding_op_exts  (soap_module_element, env))
00204 
00206 #ifdef __cplusplus
00207 }
00208 #endif
00209 #endif /* WODEN_WSDL10_SOAP_MODULE_ELEMENT_H */

Generated on Wed Dec 20 20:14:11 2006 for Axis2/C by  doxygen 1.5.1