axis2_wsdl4c_part.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_PART_H
00018  #define AXIS2_WSDL4C_PART_H
00019  
00024 #include <axis2_array_list.h>
00025 #include <axis2_allocator.h>
00026 #include <axis2_env.h>
00027 #include <axis2_error.h>
00028 #ifdef __cplusplus
00029 extern "C"
00030 {
00031 #endif
00032 
00039     enum axis2_part_ref_type
00040     {
00041         None,
00042         Elem,
00043         Type
00044     };
00045 
00046    typedef enum axis2_part_ref_type axis2_wsdl4c_part_ref_type_t;
00047     
00048     void *
00049     axis2_wsdl4c_part_create(char* n);
00050      
00051     void
00052     axis2_wsdl4c_part_destroy(void *part);
00053 
00058     axis2_wsdl4c_part_ref_type_t
00059     axis2_wsdl4c_part_ref_type(void *part);
00060 
00061     char *
00062     axis2_wsdl4c_part_name(void *part);
00063 
00064     int
00065     axis2_wsdl4c_part_type(void *part);
00066  
00067     void *
00068     axis2_wsdl4c_part_element(void *part);
00069  
00070     int
00071     axis2_wsdl4c_part_schema_id(void *part);
00072  
00073     void
00074     axis2_wsdl4c_part_set_type(void *part, 
00075                                 int typeId, 
00076                                 int schema);
00077 
00078     void
00079     axis2_wsdl4c_part_set_element(void *part, 
00080                                     void *element, 
00081                                     int schema);
00082 
00085 #ifdef __cplusplus
00086 }
00087 #endif
00088 #endif  /* AXIS2_WSDL4C_PART_H */

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