#include <axiom_document.h>
Public Attributes | |
axis2_status_t(* | free )(struct axiom_document *document, const axis2_env_t *env) |
axiom_node_t *(* | build_next )(struct axiom_document *document, const axis2_env_t *env) |
axiom_node_t *(* | get_root_element )(struct axiom_document *document, const axis2_env_t *env) |
axis2_status_t(* | set_root_element )(struct axiom_document *document, const axis2_env_t *env, axiom_node_t *om_node) |
axiom_node_t *(* | build_all )(struct axiom_document *document, const axis2_env_t *env) |
axiom_stax_builder *(* | get_builder )(struct axiom_document *document, const axis2_env_t *env) |
axis2_status_t(* | serialize )(struct axiom_document *document, const axis2_env_t *env, axiom_output_t *om_output) |
axiom_node_t*( * axiom_document_ops::build_all)(struct axiom_document *document, const axis2_env_t *env) |
This method builds the rest of the xml input stream from current position till the root element is completed .
document | pointer to axiom_document_t struct to be built. | |
env | environment MUST NOT be NULL. |
axiom_node_t*( * axiom_document_ops::build_next)(struct axiom_document *document, const axis2_env_t *env) |
Builds the next node if the builder is not finished with input xml stream
document | document whose next node is to be built. cannot be NULL | |
env | Environment. MUST NOT be NULL. |
axis2_status_t( * axiom_document_ops::free)(struct axiom_document *document, const axis2_env_t *env) |
Free document struct
document | pointer to axiom_document_t struct to be freed | |
env | Environment. MUST NOT be NULL |
struct axiom_stax_builder*( * axiom_document_ops::get_builder)(struct axiom_document *document, const axis2_env_t *env) |
get builder
axiom_node_t*( * axiom_document_ops::get_root_element)(struct axiom_document *document, const axis2_env_t *env) |
Gets the root element of the document.
document | document to return the root of | |
env | Environment. MUST NOT be NULL. |
axis2_status_t( * axiom_document_ops::serialize)(struct axiom_document *document, const axis2_env_t *env, axiom_output_t *om_output) |
om_document |
axis2_status_t( * axiom_document_ops::set_root_element)(struct axiom_document *document, const axis2_env_t *env, axiom_node_t *om_node) |
set the root element of the document. IF a root node is already exist,it is freed before setting to root element
document | document struct to return the root of | |
env | Environment. MUST NOT be NULL. |