axiom_processing_instruction.h

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_PI_H
00020 #define AXIOM_PI_H
00021 
00022 #include <axiom_node.h>
00023 #include <axiom_output.h>
00024 
00025 #ifdef __cplusplus
00026 extern "C"
00027 {
00028 #endif
00029 
00036     typedef struct axiom_processing_instruction
00037                 axiom_processing_instruction_t;
00038 
00050     AXIS2_EXTERN axiom_processing_instruction_t *AXIS2_CALL
00051 
00052     axiom_processing_instruction_create(
00053         const axutil_env_t * env,
00054         axiom_node_t * parent,
00055         const axis2_char_t * target,
00056         const axis2_char_t * value,
00057         axiom_node_t ** node);
00058 
00065     AXIS2_EXTERN void AXIS2_CALL
00066     axiom_processing_instruction_free(
00067         struct axiom_processing_instruction *om_pi,
00068         const axutil_env_t * env);
00069 
00076     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00077 
00078     axiom_processing_instruction_set_value(
00079         struct axiom_processing_instruction *om_pi,
00080         const axutil_env_t * env,
00081         const axis2_char_t * value);
00082 
00091     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00092 
00093     axiom_processing_instruction_set_target(
00094         struct axiom_processing_instruction *om_pi,
00095         const axutil_env_t * env,
00096         const axis2_char_t * target);
00097 
00104     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00105 
00106     axiom_processing_instruction_get_target(
00107         struct axiom_processing_instruction *om_pi,
00108         const axutil_env_t * env);
00109 
00116     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00117 
00118     axiom_processing_instruction_get_value(
00119         struct axiom_processing_instruction *om_pi,
00120         const axutil_env_t * env);
00121 
00130     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00131 
00132     axiom_processing_instruction_serialize(
00133         struct axiom_processing_instruction *om_pi,
00134         const axutil_env_t * env,
00135         axiom_output_t * om_output);
00136 
00138 #ifdef __cplusplus
00139 }
00140 #endif
00141 
00142 #endif                          /* AXIOM_PI_H */

Generated on Tue Jan 8 01:28:16 2008 for Axis2/C by  doxygen 1.5.1