axiom_stax_builder.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_STAX_BUILDER_H
00020 #define AXIOM_STAX_BUILDER_H
00021 
00022 #include <axiom_node.h>
00023 #include <axiom_xml_reader.h>
00024 #include <axiom_document.h>
00025 #include <axutil_env.h>
00026 
00027 #ifdef __cplusplus
00028 extern "C"
00029 {
00030 #endif
00031 
00038     typedef struct axiom_stax_builder axiom_stax_builder_t;
00039 
00045     AXIS2_EXTERN axiom_stax_builder_t *AXIS2_CALL
00046     axiom_stax_builder_create(
00047         const axutil_env_t * env,
00048         axiom_xml_reader_t * parser);
00049 
00058     AXIS2_EXTERN axiom_node_t *AXIS2_CALL
00059     axiom_stax_builder_next(
00060         struct axiom_stax_builder *builder,
00061         const axutil_env_t * env);
00062 
00069     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00070 
00071     axiom_stax_builder_discard_current_element(
00072         struct axiom_stax_builder *builder,
00073         const axutil_env_t * env);
00074 
00082     AXIS2_EXTERN void AXIS2_CALL
00083     axiom_stax_builder_free(
00084         struct axiom_stax_builder *builder,
00085         const axutil_env_t * env);
00086 
00095     AXIS2_EXTERN void AXIS2_CALL
00096     axiom_stax_builder_free_self(
00097         struct axiom_stax_builder *builder,
00098         const axutil_env_t * env);
00099 
00107     AXIS2_EXTERN axiom_document_t *AXIS2_CALL
00108 
00109     axiom_stax_builder_get_document(
00110         struct axiom_stax_builder *builder,
00111         const axutil_env_t * env);
00112 
00117     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00118     axiom_stax_builder_is_complete(
00119         struct axiom_stax_builder *builder,
00120         const axutil_env_t * env);
00121 
00126     AXIS2_EXTERN int AXIS2_CALL
00127     axiom_stax_builder_next_with_token(
00128         struct axiom_stax_builder *builder,
00129         const axutil_env_t * env);
00130 
00133 #ifdef __cplusplus
00134 }
00135 #endif
00136 
00137 #endif                          /* AXIOM_STAX_BUILDER_H */

Generated on Tue Jan 8 01:23:15 2008 for Axis2/C by  doxygen 1.5.1