# axiom_soap_fault_text.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 AXIOM_SOAP_FAULT_TEXT_H
    00020 #define AXIOM_SOAP_FAULT_TEXT_H
    00021
    00026 #include <axutil_env.h>
    00027 #include <axiom_soap_fault_reason.h>
    00028
    00029 #ifdef __cplusplus
    00030 extern "C"
    00031 {
    00032 #endif
    00033
    00034     typedef struct axiom_soap_fault_text axiom_soap_fault_text_t;
    00035
    00049     AXIS2_EXTERN axiom_soap_fault_text_t *AXIS2_CALL
    00050     axiom_soap_fault_text_create_with_parent(
    00051         const axutil_env_t * env,
    00052         axiom_soap_fault_reason_t * fault);
    00053
    00061     AXIS2_EXTERN void AXIS2_CALL
    00062     axiom_soap_fault_text_free(
    00063         axiom_soap_fault_text_t * fault_text,
    00064         const axutil_env_t * env);
    00065
    00074     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00075     axiom_soap_fault_text_set_lang(
    00076         axiom_soap_fault_text_t * fault_text,
    00077         const axutil_env_t * env,
    00078         const axis2_char_t * lang);
    00079
    00087     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00088     axiom_soap_fault_text_get_lang(
    00089         axiom_soap_fault_text_t * fault_text,
    00090         const axutil_env_t * env);
    00091
    00099     AXIS2_EXTERN axiom_node_t *AXIS2_CALL
    00100     axiom_soap_fault_text_get_base_node(
    00101         axiom_soap_fault_text_t * fault_text,
    00102         const axutil_env_t * env);
    00103
    00113     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00114     axiom_soap_fault_text_set_text(
    00115         axiom_soap_fault_text_t * fault_text,
    00116         const axutil_env_t * env,
    00117         axis2_char_t * value,
    00118         axis2_char_t * lang);
    00119
    00127     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00128     axiom_soap_fault_text_get_text(
    00129         axiom_soap_fault_text_t * fault_text,
    00130         const axutil_env_t * env);
    00131
    00134 #ifdef __cplusplus
    00135 }
    00136 #endif
    00137
    00138 #endif                          /* AXIOM_SOAP_FAULT_TEXT_H */