oxs_axiom.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 OXS_AXIOM_H
00019 #define OXS_AXIOM_H
00020 
00021 
00027 #include <axis2_defines.h>
00028 #include <axis2_env.h>
00029 #include <axis2_util.h>
00030 #include <axiom_node.h>
00031 #include <axiom_document.h>
00032 #include <axiom.h>
00033 
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif
00038 
00039 
00040 
00041 AXIS2_EXTERN int AXIS2_CALL
00042 oxs_axiom_get_number_of_children_with_qname(const axis2_env_t *env,
00043                                          axiom_node_t* parent,
00044                                          axis2_char_t* local_name,
00045                                          axis2_char_t* ns_uri,
00046                                          axis2_char_t* prefix);
00047 
00051 AXIS2_EXTERN axiom_node_t* AXIS2_CALL
00052 oxs_axiom_get_node_by_local_name(const axis2_env_t *env,
00053     axiom_node_t *node,
00054     axis2_char_t *local_name);
00055 
00056 AXIS2_EXTERN axiom_node_t* AXIS2_CALL
00057 oxs_axiom_get_node_by_id(const axis2_env_t *env,
00058     axiom_node_t *node,
00059     axis2_char_t *attr,
00060     axis2_char_t *val);
00061 
00062 AXIS2_EXTERN axis2_char_t* AXIS2_CALL
00063 oxs_axiom_get_attribute_value_of_node_by_name(const axis2_env_t *env,
00064         axiom_node_t *node,
00065         axis2_char_t *attribute_name);
00066 
00067 
00068 AXIS2_EXTERN axiom_node_t* AXIS2_CALL
00069 oxs_axiom_get_first_child_node_by_name(const axis2_env_t *env,
00070                                          axiom_node_t* parent,
00071                                          axis2_char_t* local_name,
00072                                          axis2_char_t* ns_uri,
00073                                          axis2_char_t* prefix);
00074 
00075 AXIS2_EXTERN axis2_char_t* AXIS2_CALL
00076 oxs_axiom_get_node_content(const axis2_env_t *env, axiom_node_t* node);
00077 
00078 
00079 AXIS2_EXTERN axiom_node_t *AXIS2_CALL
00080 oxs_axiom_deserialize_node(const axis2_env_t *env,  axis2_char_t* buffer);
00084 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00085 oxs_axiom_check_node_name(const axis2_env_t *env, axiom_node_t* node, axis2_char_t* name, axis2_char_t* ns);
00086 
00088 #ifdef __cplusplus
00089 }
00090 #endif
00091 
00092 #endif                          /* OXS_AXIOM_H */

Generated on Wed Dec 20 20:14:10 2006 for Axis2/C by  doxygen 1.5.1