axutil_qname.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 AXUTIL_QNAME_H
00019 #define AXUTIL_QNAME_H
00020 
00026 #include <axutil_utils_defines.h>
00027 #include <axutil_env.h>
00028 
00029 #include <axutil_string.h>
00030 
00031 #ifdef __cplusplus
00032 extern "C"
00033 {
00034 #endif
00035 
00042     typedef struct axutil_qname axutil_qname_t;
00043 
00057     AXIS2_EXTERN axutil_qname_t * AXIS2_CALL
00058     axutil_qname_create(const axutil_env_t *env,
00059         const axis2_char_t * localpart,
00060         const axis2_char_t * namespace_uri,
00061         const axis2_char_t * prefix);
00062 
00063 
00070     AXIS2_EXTERN axutil_qname_t* AXIS2_CALL
00071     axutil_qname_create_from_string(const axutil_env_t *env,
00072         const axis2_char_t *string);
00073 
00078     AXIS2_EXTERN void AXIS2_CALL
00079     axutil_qname_free(struct axutil_qname * qname,
00080         const axutil_env_t *env);
00081 
00089     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00090     axutil_qname_equals(const struct axutil_qname * qname,
00091         const axutil_env_t *env,
00092         const struct axutil_qname * qname1);
00100     AXIS2_EXTERN struct axutil_qname* AXIS2_CALL
00101     axutil_qname_clone(struct axutil_qname *qname,
00102         const axutil_env_t *env);
00103 
00104     AXIS2_EXTERN axis2_char_t* AXIS2_CALL
00105     axutil_qname_get_uri(const struct axutil_qname *qname,
00106         const axutil_env_t *env);
00107 
00108     AXIS2_EXTERN axis2_char_t* AXIS2_CALL
00109     axutil_qname_get_prefix(const struct axutil_qname *qname,
00110         const axutil_env_t *env);
00111 
00112     AXIS2_EXTERN axis2_char_t* AXIS2_CALL
00113     axutil_qname_get_localpart(const struct axutil_qname *qname,
00114         const axutil_env_t *env);
00115 
00122     AXIS2_EXTERN axis2_char_t* AXIS2_CALL
00123     axutil_qname_to_string(struct axutil_qname *qname,
00124         const axutil_env_t *env);
00125 
00128 #ifdef __cplusplus
00129 }
00130 #endif
00131 
00132 #endif /* AXIS2_QNAME_H */

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