w2c_xslt_utils.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 W2C_XSLT_UTILS_H
00019 #define W2C_XSLT_UTILS_H
00020 
00026 #include <stdio.h>
00027 #include <axis2_stream.h>
00028 #include <axis2_utils.h>
00029 #include <axiom.h>
00030 
00031 #ifdef __cplusplus
00032 extern "C"
00033 {
00034 #endif
00035 
00049 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00050 w2c_xslt_utils_add_attribute(
00051     const axis2_env_t *env,
00052     axiom_node_t *om_node,
00053     axis2_char_t *attribute,
00054     axis2_char_t *attrib_value);
00055 
00063 AXIS2_EXTERN axiom_node_t* AXIS2_CALL
00064 w2c_xslt_utils_add_child_node(
00065     const axis2_env_t *env,
00066     axis2_char_t *element_name,
00067     axiom_node_t *parent_node);
00068 
00075 AXIS2_EXTERN axis2_char_t* AXIS2_CALL
00076 w2c_xslt_utils_serialize(
00077         const axis2_env_t *env,
00078         axiom_node_t *root);
00079 
00087 AXIS2_EXTERN axiom_node_t* AXIS2_CALL
00088 w2c_xslt_utils_add_text(
00089     const axis2_env_t *env,
00090     axiom_node_t *node,
00091     axis2_char_t *text);
00092 
00100 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00101     w2c_xslt_utils_copy_node_tree(
00102     const axis2_env_t *env,
00103     axiom_node_t *to,
00104     axiom_node_t *from );
00105 
00106 
00109 #ifdef __cplusplus
00110 }
00111 #endif
00112 
00113 #endif /* W2C_XSLT_UTILS_H */

Generated on Wed Dec 20 20:34:50 2006 for Axis2/C by  doxygen 1.5.1