axiom_namespace.h

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 AXIOM_NAMESPACE_H
00019 #define AXIOM_NAMESPACE_H
00020 
00021 #include <axutil_utils_defines.h>
00022 #include <axutil_env.h>
00023 #include <axiom_output.h>
00024 #include <axutil_string.h>
00025 
00026 #ifdef __cplusplus
00027 extern "C"
00028 {
00029 #endif
00030 
00037     typedef struct axiom_namespace axiom_namespace_t;
00038 
00045     AXIS2_EXTERN axiom_namespace_t *AXIS2_CALL
00046     axiom_namespace_create(const axutil_env_t *env,
00047         const axis2_char_t * uri,
00048         const axis2_char_t *prefix);
00049 
00056     AXIS2_EXTERN void AXIS2_CALL
00057     axiom_namespace_free(struct axiom_namespace *om_namespace,
00058         const axutil_env_t *env);
00059 
00067     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00068     axiom_namespace_equals(struct axiom_namespace *om_namespace,
00069         const axutil_env_t *env,
00070         struct axiom_namespace *om_namespace1);
00071 
00079     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00080     axiom_namespace_serialize(struct axiom_namespace *om_namespace,
00081         const axutil_env_t *env,
00082         axiom_output_t * om_output);
00083 
00089     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00090     axiom_namespace_get_uri(struct axiom_namespace *om_namespace,
00091         const axutil_env_t *env);
00092 
00098     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00099     axiom_namespace_get_prefix(struct axiom_namespace *om_namespace,
00100         const axutil_env_t *env);
00101 
00108     AXIS2_EXTERN struct axiom_namespace *AXIS2_CALL
00109     axiom_namespace_clone(struct axiom_namespace *om_namespace,
00110         const axutil_env_t *env);
00111 
00120     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00121     axiom_namespace_to_string(struct axiom_namespace *om_namespace,
00122         const axutil_env_t *env);
00123 
00124     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00125     axiom_namespace_increment_ref(struct axiom_namespace *om_namespace,
00126         const axutil_env_t *env);
00127 
00128     AXIS2_EXTERN axiom_namespace_t *AXIS2_CALL
00129     axiom_namespace_create_str(const axutil_env_t *env,
00130         axutil_string_t * uri,
00131         axutil_string_t * prefix);
00132 
00133     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00134     axiom_namespace_set_uri_str(axiom_namespace_t *om_namespace,
00135         const axutil_env_t *env,
00136         axutil_string_t *uri);
00137 
00138     AXIS2_EXTERN axutil_string_t *AXIS2_CALL
00139     axiom_namespace_get_uri_str(axiom_namespace_t *om_namespace,
00140         const axutil_env_t *env);
00141 
00142     AXIS2_EXTERN axutil_string_t *AXIS2_CALL
00143     axiom_namespace_get_prefix_str(axiom_namespace_t *om_namespace,
00144         const axutil_env_t *env);
00145 
00148 #ifdef __cplusplus
00149 }
00150 #endif
00151 
00152 #endif                          /* AXIOM_NAMESPACE */

Generated on Thu May 3 12:31:01 2007 for Axis2/C by  doxygen 1.4.6