axiom_children_with_specific_attribute_iterator.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 AXIOM_CHILDREN_WITH_SPECIFIC_ATTRIBUTE_ITERATOR_H
00019 #define AXIOM_CHILDREN_WITH_SPECIFIC_ATTRIBUTE_ITERATOR_H
00020 
00026 #include <axiom_node.h>
00027 #include <axiom_text.h>
00028 #include <axutil_qname.h>
00029 
00030 
00031 #ifdef __cplusplus
00032 extern "C"
00033 {
00034 #endif
00035 
00036     typedef struct axiom_children_with_specific_attribute_iterator
00037                 axiom_children_with_specific_attribute_iterator_t;
00038 
00048     AXIS2_EXTERN void AXIS2_CALL
00049     axiom_children_with_specific_attribute_iterator_free(axiom_children_with_specific_attribute_iterator_t *iterator,
00050         const axutil_env_t *env);
00051 
00059     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00060     axiom_children_with_specific_attribute_iterator_remove(axiom_children_with_specific_attribute_iterator_t *iterator,
00061         const axutil_env_t *env);
00062 
00069     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00070     axiom_children_with_specific_attribute_iterator_has_next(axiom_children_with_specific_attribute_iterator_t *iterator,
00071         const axutil_env_t *env);
00072 
00077     AXIS2_EXTERN axiom_node_t *AXIS2_CALL
00078     axiom_children_with_specific_attribute_iterator_next(axiom_children_with_specific_attribute_iterator_t *iterator,
00079         const axutil_env_t *env);
00080 
00087     AXIS2_EXTERN  axiom_children_with_specific_attribute_iterator_t * AXIS2_CALL
00088     axiom_children_with_specific_attribute_iterator_create(
00089         const axutil_env_t *env,
00090         axiom_node_t *current_child,
00091         axutil_qname_t *attr_qname,
00092         axis2_char_t *attr_value,
00093         axis2_bool_t detach);
00094 
00095 #define AXIOM_CHILDREN_WITH_SPECIFIC_ATTRIBUTE_ITERATOR_FREE(iterator, env) \
00096         axiom_children_with_specific_attribute_iterator_free(iterator, env)
00097 
00098 #define AXIOM_CHILDREN_WITH_SPECIFIC_ATTRIBUTE_ITERATOR_REMOVE(iterator, env) \
00099         axiom_children_with_specific_attribute_iterator_remove(iterator, env)
00100 
00101 #define AXIOM_CHILDREN_WITH_SPECIFIC_ATTRIBUTE_ITERATOR_HAS_NEXT(iterator, env) \
00102         axiom_children_with_specific_attribute_iterator_has_next(iterator, env)
00103 
00104 #define AXIOM_CHILDREN_WITH_SPECIFIC_ATTRIBUTE_ITERATOR_NEXT(iterator, env) \
00105         axiom_children_with_specific_attribute_iterator_next(iterator, env)
00106 
00107 
00110 #ifdef __cplusplus
00111 }
00112 #endif
00113 
00114 
00115 #endif /* AXIOM_CHILDREN_WITH_SPECIFIC_ATTRIBUTE_ITERATOR_H */

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