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

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