Classes | |
struct | axiom_text_ops |
text ops struct Encapsulator struct for ops of axiom_text More... | |
struct | axiom_text |
text struct Handles the XML text in OM More... | |
Defines | |
#define | AXIOM_TEXT_FREE(om_text, env) ((om_text)->ops->free(om_text,env)) |
#define | AXIOM_TEXT_SERIALIZE(om_text, env, om_output) ((om_text)->ops->serialize(om_text, env, om_output)) |
#define | AXIOM_TEXT_GET_VALUE(om_text, env) ((om_text)->ops->get_value(om_text, env)) |
#define | AXIOM_TEXT_SET_VALUE(om_text, env, value) ((om_text)->ops->set_value(om_text, env, value)) |
#define | AXIOM_TEXT_SET_OPTIMIZE(om_text, env, optimize) ((om_text)->ops->set_optimize(om_text, env, optimize)) |
#define | AXIOM_TEXT_SET_IS_BINARY(om_text, env, is_binary) ((om_text)->ops->set_is_binary(om_text, env, is_binary)) |
#define | AXIOM_TEXT_GET_DATA_HANDLER(om_text, env) ((om_text)->ops->get_data_handler(om_text, env)) |
#define | AXIOM_TEXT_GET_CONTENT_ID(om_text, env) ((om_text)->ops->get_content_id(om_text, env)) |
Typedefs | |
typedef axiom_text_ops | axiom_text_ops_t |
text ops struct Encapsulator struct for ops of axiom_text | |
typedef axiom_text | axiom_text_t |
text struct Handles the XML text in OM | |
Functions | |
AXIS2_EXTERN axiom_text_t * | axiom_text_create (const axis2_env_t *env, axiom_node_t *parent, const axis2_char_t *value, axiom_node_t **node) |
AXIS2_EXTERN axiom_text_t * | axiom_text_create_with_data_handler (const axis2_env_t *env, axiom_node_t *parent, axiom_data_handler_t *data_handler, axiom_node_t **node) |
#define AXIOM_TEXT_FREE | ( | om_text, | |||
env | ) | ((om_text)->ops->free(om_text,env)) |
frees given text
#define AXIOM_TEXT_GET_VALUE | ( | om_text, | |||
env | ) | ((om_text)->ops->get_value(om_text, env)) |
get the text value
#define AXIOM_TEXT_SERIALIZE | ( | om_text, | |||
env, | |||||
om_output | ) | ((om_text)->ops->serialize(om_text, env, om_output)) |
serializes given text
#define AXIOM_TEXT_SET_IS_BINARY | ( | om_text, | |||
env, | |||||
is_binary | ) | ((om_text)->ops->set_is_binary(om_text, env, is_binary)) |
set whether it binary
#define AXIOM_TEXT_SET_OPTIMIZE | ( | om_text, | |||
env, | |||||
optimize | ) | ((om_text)->ops->set_optimize(om_text, env, optimize)) |
set whether it is to be optimized
#define AXIOM_TEXT_SET_VALUE | ( | om_text, | |||
env, | |||||
value | ) | ((om_text)->ops->set_value(om_text, env, value)) |
set text value
AXIS2_EXTERN axiom_text_t* axiom_text_create | ( | const axis2_env_t * | env, | |
axiom_node_t * | parent, | |||
const axis2_char_t * | value, | |||
axiom_node_t ** | node | |||
) |
Creates a new text struct
env | Environment. MUST NOT be NULL, . | |
parent | parent of the new node. Optinal, can be NULL. The parent element must be of type AXIOM_ELEMENT | |
value | Text value. Optinal, can be NULL. | |
comment_node | This is an out parameter. cannot be NULL. Returns the node corresponding to the text struct created. Node type will be set to AXIOM_TEXT |
AXIS2_EXTERN axiom_text_t* axiom_text_create_with_data_handler | ( | const axis2_env_t * | env, | |
axiom_node_t * | parent, | |||
axiom_data_handler_t * | data_handler, | |||
axiom_node_t ** | node | |||
) |
Creates a new text struct for binary data (MTOM)
env | Environment. MUST NOT be NULL, . | |
parent | parent of the new node. Optinal, can be NULL. The parent element must be of type AXIOM_ELEMENT | |
data_handler | data handler. Optinal, can be NULL. | |
comment_node | This is an out parameter. cannot be NULL. Returns the node corresponding to the text struct created. Node type will be set to AXIOM_TEXT |