axiom_processing_instruction.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_PI_H
00019 #define AXIOM_PI_H
00020 
00021 #include <axiom_node.h>
00022 #include <axiom_output.h>
00023 
00024 #ifdef __cplusplus
00025 extern "C"
00026 {
00027 #endif
00028 
00036     typedef struct axiom_processing_instruction axiom_processing_instruction_t;
00037 
00049     AXIS2_EXTERN axiom_processing_instruction_t * AXIS2_CALL
00050     axiom_processing_instruction_create(const axutil_env_t *env,
00051         axiom_node_t * parent,
00052         const axis2_char_t * target,
00053         const axis2_char_t * value,
00054         axiom_node_t ** node);
00055 
00062     AXIS2_EXTERN void AXIS2_CALL
00063     axiom_processing_instruction_free(struct axiom_processing_instruction * om_pi,
00064         const axutil_env_t *env);
00065     
00072     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00073     axiom_processing_instruction_set_value(struct axiom_processing_instruction *om_pi,
00074         const axutil_env_t *env,
00075         const axis2_char_t* value);
00076 
00085     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00086     axiom_processing_instruction_set_target(struct axiom_processing_instruction *om_pi,
00087         const axutil_env_t *env,
00088         const axis2_char_t* target);
00089 
00096     AXIS2_EXTERN axis2_char_t* AXIS2_CALL
00097     axiom_processing_instruction_get_target(struct axiom_processing_instruction *om_pi,
00098         const axutil_env_t *env);
00099 
00106     AXIS2_EXTERN axis2_char_t* AXIS2_CALL
00107     axiom_processing_instruction_get_value(struct axiom_processing_instruction *om_pi,
00108             const axutil_env_t *env);
00109 
00118     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00119     axiom_processing_instruction_serialize(struct axiom_processing_instruction *om_pi,
00120         const axutil_env_t *env,
00121         axiom_output_t *om_output);
00122 
00124 #ifdef __cplusplus
00125 }
00126 #endif
00127 
00128 #endif                          /* AXIOM_PI_H */

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