sandesha2_iom_rm_element.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2004,2005 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *      http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016  
00017 #ifndef SANDESHA2_IOM_RM_ELEMENT_H
00018 #define SANDESHA2_IOM_RM_ELEMENT_H
00019 
00025 #include <axutil_utils_defines.h>
00026 #include <axutil_env.h>
00027 #include <axiom_soap_envelope.h>
00028 #include <axiom_element.h>
00029 #include <sandesha2_error.h>
00030 
00031 
00032 #ifdef __cplusplus
00033 extern "C"
00034 {
00035 #endif
00036 
00042  typedef struct sandesha2_iom_rm_element_ops sandesha2_iom_rm_element_ops_t;
00043  typedef struct sandesha2_iom_rm_element sandesha2_iom_rm_element_t;
00048 AXIS2_DECLARE_DATA struct sandesha2_iom_rm_element_ops
00049 {       
00050     axis2_status_t (AXIS2_CALL *free)
00051         (sandesha2_iom_rm_element_t *element,
00052         const axutil_env_t *env);
00053 
00054     axis2_char_t* (AXIS2_CALL *get_namespace_value) 
00055         (sandesha2_iom_rm_element_t *element,
00056         const axutil_env_t *env);
00057 
00058     void* (AXIS2_CALL *from_om_node) 
00059         (sandesha2_iom_rm_element_t *element,
00060         const axutil_env_t *env, axiom_node_t *om_node);
00061 
00062     axiom_node_t* (AXIS2_CALL *to_om_node) 
00063         (sandesha2_iom_rm_element_t *element,
00064         const axutil_env_t *env, 
00065         void *om_node);
00066 
00067         axis2_bool_t (AXIS2_CALL *is_namespace_supported) 
00068         (sandesha2_iom_rm_element_t *element,
00069         const axutil_env_t *env, axis2_char_t *ns);
00070 };
00071 
00076 AXIS2_DECLARE_DATA struct sandesha2_iom_rm_element
00077 {
00078     sandesha2_iom_rm_element_ops_t *ops;
00079 };
00080 
00081 axis2_status_t AXIS2_CALL
00082 sandesha2_iom_rm_element_free(
00083     sandesha2_iom_rm_element_t *element,
00084     const axutil_env_t *env);
00085     
00086 axis2_char_t* AXIS2_CALL
00087 sandesha2_iom_rm_element_get_namespace_value( 
00088     sandesha2_iom_rm_element_t *element,
00089     const axutil_env_t *env);
00090 
00091 void* AXIS2_CALL
00092 sandesha2_iom_rm_element_from_om_node(
00093     sandesha2_iom_rm_element_t *element,
00094     const axutil_env_t *env, 
00095     axiom_node_t *om_node);
00096 
00097 axiom_node_t * AXIS2_CALL
00098 sandesha2_iom_rm_element_to_om_node(
00099     sandesha2_iom_rm_element_t *element,
00100     const axutil_env_t *env, 
00101     void *om_node);
00102 
00103 axis2_bool_t AXIS2_CALL
00104 sandesha2_iom_rm_element_is_namespace_supported( 
00105     sandesha2_iom_rm_element_t *element,
00106     const axutil_env_t *env, 
00107     axis2_char_t *ns);
00108 
00110 #ifdef __cplusplus
00111 }
00112 #endif
00113 
00114 #endif /*SANDESHA2_IOM_RM_ELEMENT_H*/

Generated on Mon Oct 1 17:05:56 2007 for Sandesha2/C by  doxygen 1.5.3