axis2_wsdl4c_message.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 AXIS2_WSDL4C_MESSAGE_H
00019  #define AXIS2_WSDL4C_MESSAGE_H
00020  
00025 #include <axis2_array_list.h>
00026 #include <axis2_allocator.h>
00027 #include <axis2_env.h>
00028 #include <axis2_error.h>
00029 #include <axis2_wsdl4c_part.h>
00030 
00031 #ifdef __cplusplus
00032 extern "C"
00033 {
00034 #endif
00035 
00041     void *
00042     axis2_wsdl4c_msg_create(void* parser);
00043 
00044 
00045     void
00046     axis2_wsdl4c_msg_destroy(void *message);
00047  
00048 
00053     int
00054     axis2_wsdl4c_msg_get_num_parts(void *message); 
00055 
00056 
00063     int
00064     axis2_wsdl4c_msg_get_part_index(void *message, 
00065                                     char *name);
00066 
00074     int
00075     axis2_wsdl4c_msg_get_part_type_a_index(void *message, 
00076                                             int index);
00077 
00078 
00079     int
00080     axis2_wsdl4c_msg_get_part_type_a_name(void *message, 
00081                                             char *name); 
00082 
00083 
00092     void *
00093     axis2_wsdl4c_msg_get_part_element(void *message, 
00094                                         int index);
00095 
00096 
00102     void*
00103     axis2_wsdl4c_msg_get_message_part_a_index(void *message, 
00104                                                 size_t index); 
00105 
00106 
00107     void *
00108     axis2_wsdl4c_msg_get_message_part_a_nam(void *message, 
00109                                             char *nam);
00110 
00111 
00117     int
00118     axis2_wsdl4c_msg_get_part_content_schema_id_a_index(void *message, 
00119                                                         int index);
00120 
00121 
00122     int
00123     axis2_wsdl4c_msg_get_part_content_schema_id_a_name(void *message, 
00124                                                         char *name);
00125 
00126 
00127     char *
00128     axis2_wsdl4c_msg_get_part_name(void *message, 
00129                                     int index);
00130 
00131 
00132     axis2_wsdl4c_part_ref_type_t
00133     axis2_wsdl4c_msg_get_part_ref_type_a_nam(void *message, 
00134                                                 char *nam);
00135 
00136 
00137     axis2_wsdl4c_part_ref_type_t
00138     axis2_wsdl4c_msg_get_part_ref_type_a_index(void *message, 
00139                                                 int index);
00140 
00141 
00142     void
00143     axis2_wsdl4c_msg_add_part(void *message, char *pname, 
00144                                 axis2_wsdl4c_part_ref_type_t reftype, 
00145                                 void *d, 
00146                                 int schema_id);
00147 
00152     char *
00153     axis2_wsdl4c_msg_get_name(void *message);
00154 
00159     char *
00160     axis2_wsdl4c_msg_get_documentation(void *message);  
00161 
00170     int *
00171     axis2_wsdl4c_msg_get_extensibility_elements(void *message,
00172                                                     char *namespc);
00173 
00174     int *
00175     axis2_wsdl4c_msg_get_extensibility_attributes(void *message,
00176                                                         char *namespc);
00177 
00178     void
00179     axis2_wsdl4c_msg_set_name(void *message,
00180                                     char *name);
00181   
00182     void
00183     axis2_wsdl4c_msg_add_ext_element(void *message,
00184                                     int ident);
00185  
00186     void
00187     axis2_wsdl4c_msg_add_ext_attribute(void *message,
00188                                             int ident);
00189 
00190     void
00191     axis2_wsdl4c_msg_set_documentation(void *message, 
00192                                             char *doc);
00193 
00194 
00197 #ifdef __cplusplus
00198 }
00199 #endif
00200 #endif  /* AXIS2_WSDL4C_MESSAGE_H */

Generated on Wed Dec 20 20:34:50 2006 for Axis2/C by  doxygen 1.5.1