woden_wsdl10_ext_deserializer.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_EXT_DESERIALIZER_H
00019 #define WODEN_WSDL10_EXT_DESERIALIZER_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_qname.h>
00035 #include <axis2_hash.h>
00036 #include <axiom_node.h>
00037 #include <woden.h>
00038 #include <woden_wsdl10_ext_registry.h>
00039 #include <woden_wsdl10_ext_deserializer.h>
00040 
00041 #ifdef __cplusplus
00042 extern "C"
00043 {
00044 #endif
00045 
00046 typedef struct woden_wsdl10_ext_deserializer woden_wsdl10_ext_deserializer_t;
00047 typedef struct woden_wsdl10_ext_deserializer_ops woden_wsdl10_ext_deserializer_ops_t;
00048 
00054 struct woden_wsdl10_ext_deserializer_ops
00055 {
00060     axis2_status_t (AXIS2_CALL *
00061     free) (
00062             void *ext_deserializer,
00063             const axis2_env_t *env);
00064  
00065     woden_obj_types_t (AXIS2_CALL *
00066     type) (
00067             void *ext_deserializer,
00068             const axis2_env_t *env);
00069 
00070     void *(AXIS2_CALL *
00071     unmarshall) (
00072             void *ext_deserializer,
00073             const axis2_env_t *env,
00074             axis2_char_t *parent_type,
00075             void *parent,
00076             axis2_qname_t *ext_type,
00077             axiom_node_t *ext_el_node,
00078             void *desc,
00079             woden_wsdl10_ext_registry_t *ext_reg);
00080 
00081 };
00082 
00083 struct woden_wsdl10_ext_deserializer
00084 {
00085     woden_wsdl10_ext_deserializer_ops_t *ops;
00086 };
00087 
00088 AXIS2_EXTERN woden_wsdl10_ext_deserializer_t * AXIS2_CALL
00089 woden_wsdl10_ext_deserializer_create(
00090         const axis2_env_t *env);
00091 
00092 /************************Woden C Internal Methods******************************/
00093 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00094 woden_wsdl10_ext_deserializer_resolve_methods(
00095         woden_wsdl10_ext_deserializer_t *ext_deserializer,
00096         const axis2_env_t *env,
00097         axis2_hash_t *methods);
00098 /************************End of Woden C Internal Methods***********************/
00099 
00100 #define WODEN_WSDL10_EXT_DESERIALIZER_FREE(ext_deserializer, env) \
00101       (((woden_wsdl10_ext_deserializer_t *) ext_deserializer)->ops->\
00102          free (ext_deserializer, env))
00103 
00104 #define WODEN_WSDL10_EXT_DESERIALIZER_TYPE(ext_deserializer, env) \
00105       (((woden_wsdl10_ext_deserializer_t *) ext_deserializer)->ops->\
00106          type (ext_deserializer, env))
00107 
00108 #define WODEN_WSDL10_EXT_DESERIALIZER_UNMARSHALL(ext_deserializer, env, \
00109         parent_type, parent, ext_type, ext_el_node, desc, ext_reg) \
00110       (((woden_wsdl10_ext_deserializer_t *) ext_deserializer)->ops->\
00111          unmarshall (ext_deserializer, env, parent_type, parent, ext_type, \
00112              ext_el_node, desc, ext_reg))
00113 
00115 #ifdef __cplusplus
00116 }
00117 #endif
00118 #endif /* WODEN_WSDL10_EXT_DESERIALIZER_H */

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