# axutil_qname.h

Go to the documentation of this file.

    00001
    00002 /*
    00003 * Licensed to the Apache Software Foundation (ASF) under one or more
    00004 * contributor license agreements.  See the NOTICE file distributed with
    00005 * this work for additional information regarding copyright ownership.
    00006 * The ASF licenses this file to You under the Apache License, Version 2.0
    00007 * (the "License"); you may not use this file except in compliance with
    00008 * the License.  You may obtain a copy of the License at
    00009 *
    00010 *      http://www.apache.org/licenses/LICENSE-2.0
    00011 *
    00012 * Unless required by applicable law or agreed to in writing, software
    00013 * distributed under the License is distributed on an "AS IS" BASIS,
    00014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00015 * See the License for the specific language governing permissions and
    00016 * limitations under the License.
    00017 */
    00018
    00019 #ifndef AXUTIL_QNAME_H
    00020 #define AXUTIL_QNAME_H
    00021
    00027 #include <axutil_utils_defines.h>
    00028 #include <axutil_env.h>
    00029
    00030 #include <axutil_string.h>
    00031
    00032 #ifdef __cplusplus
    00033 extern "C"
    00034 {
    00035 #endif
    00036
    00043     typedef struct axutil_qname axutil_qname_t;
    00044
    00058     AXIS2_EXTERN axutil_qname_t *AXIS2_CALL
    00059     axutil_qname_create(
    00060         const axutil_env_t * env,
    00061         const axis2_char_t * localpart,
    00062         const axis2_char_t * namespace_uri,
    00063         const axis2_char_t * prefix);
    00064
    00071     AXIS2_EXTERN axutil_qname_t *AXIS2_CALL
    00072     axutil_qname_create_from_string(
    00073         const axutil_env_t * env,
    00074         const axis2_char_t * string);
    00075
    00080     AXIS2_EXTERN void AXIS2_CALL
    00081     axutil_qname_free(
    00082         struct axutil_qname *qname,
    00083         const axutil_env_t * env);
    00084
    00092     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00093     axutil_qname_equals(
    00094         const struct axutil_qname *qname,
    00095         const axutil_env_t * env,
    00096         const struct axutil_qname *qname1);
    00097
    00105     AXIS2_EXTERN struct axutil_qname *AXIS2_CALL
    00106                 axutil_qname_clone(
    00107                     struct axutil_qname *qname,
    00108                     const axutil_env_t * env);
    00109
    00110     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00111     axutil_qname_get_uri(
    00112         const struct axutil_qname *qname,
    00113         const axutil_env_t * env);
    00114
    00115     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00116     axutil_qname_get_prefix(
    00117         const struct axutil_qname *qname,
    00118         const axutil_env_t * env);
    00119
    00120     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00121     axutil_qname_get_localpart(
    00122         const struct axutil_qname *qname,
    00123         const axutil_env_t * env);
    00124
    00131     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00132     axutil_qname_to_string(
    00133         struct axutil_qname *qname,
    00134         const axutil_env_t * env);
    00135
    00138 #ifdef __cplusplus
    00139 }
    00140 #endif
    00141
    00142 #endif                          /* AXIS2_QNAME_H */