axiom_doctype.h

Go to the documentation of this file.
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_DOCTYPE_H
00020 #define AXIOM_DOCTYPE_H
00021 
00027 #include <axiom_node.h>
00028 #include <axiom_output.h>
00029 
00030 #ifdef __cplusplus
00031 extern "C"
00032 {
00033 #endif
00034 
00035     struct axiom_doctype;
00036     struct axiom_doctype_ops;
00037 
00044     typedef struct axiom_doctype axiom_doctype_t;
00045 
00056     AXIS2_EXTERN axiom_doctype_t *AXIS2_CALL
00057     axiom_doctype_create(
00058         const axutil_env_t * env,
00059         axiom_node_t * parent,
00060         const axis2_char_t * value,
00061         axiom_node_t ** node);
00062 
00070     AXIS2_EXTERN void AXIS2_CALL
00071     axiom_doctype_free(
00072         struct axiom_doctype *om_doctype,
00073         const axutil_env_t * env);
00074 
00080     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00081     axiom_doctype_get_value(
00082         struct axiom_doctype *om_doctype,
00083         const axutil_env_t * env);
00084 
00093     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00094     axiom_doctype_set_value(
00095         struct axiom_doctype *om_doctype,
00096         const axutil_env_t * env,
00097         const axis2_char_t * value);
00098 
00108     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00109     axiom_doctype_serialize(
00110         struct axiom_doctype *om_doctype,
00111         const axutil_env_t * env,
00112         axiom_output_t * om_output);
00113 
00116 #ifdef __cplusplus
00117 }
00118 #endif
00119 
00120 #endif                          /* AXIOM_DOCTYPE_H */

Generated on Fri Apr 17 11:49:42 2009 for Axis2/C by  doxygen 1.5.3