Main Page | Modules | Class List | Directories | File List | Class Members | File Members

axis2_om_output.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2004,2005 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *      http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 #ifndef AXIS2_OM_OUTPUT_H
00018 #define AXIS2_OM_OUTPUT_H
00019 
00025 #include <axis2_defines.h>
00026 #include <axis2.h>
00027 #include <axis2_env.h>
00028 #include <axis2_om_node.h>
00029 #include <axis2_xml_writer.h>
00030 
00031 #ifdef __cplusplus
00032 extern "C"
00033 {
00034 #endif
00035 
00042  /*  static  const char *DEFAULT_CHAR_SET_ENCODING = "utf-8"; */
00043 
00044 
00049     typedef struct axis2_om_output
00050     {
00053         axis2_xml_writer_t *xml_writer;
00054 
00055         /* following fields are not used currently but will be used in the future */
00056         axis2_bool_t do_optimize;
00057         axis2_char_t *mime_boundary;
00058         axis2_char_t *root_content_id;
00059         int next_id;
00060         axis2_bool_t is_soap_11;
00061         axis2_char_t *char_set_encoding;
00062         /* xml version */
00063         axis2_char_t *xml_version;
00064         axis2_bool_t ignore_xml_declaration;
00065     } axis2_om_output_t;
00066     
00074     AXIS2_DECLARE(axis2_om_output_t*) 
00075     axis2_om_output_create (axis2_env_t **env, axis2_xml_writer_t *xml_writer);
00076 
00087     AXIS2_DECLARE(axis2_status_t)
00088     axis2_om_output_write (axis2_om_output_t * om_output, axis2_env_t **env,
00089                            axis2_om_types_t type,
00090                            int no_of_args, ...);
00097     AXIS2_DECLARE(axis2_status_t)
00098     axis2_om_output_free(axis2_om_output_t *om_output,
00099                          axis2_env_t **env);    
00100 
00103 #ifdef __cplusplus
00104 }
00105 #endif
00106 
00107 #endif                          /* AXIS2_OM_OUTPUT_H */

Generated on Wed Dec 7 07:58:25 2005 for Axis2/C by  doxygen 1.4.2