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

Generated on Tue Oct 3 18:21:10 2006 for Axis2/C by  doxygen 1.4.7