Functions | |
AXIS2_EXTERN axis2_status_t | oxs_axiom_add_attribute (const axutil_env_t *env, axiom_node_t *node, axis2_char_t *attribute_ns, axis2_char_t *attribute_ns_uri, axis2_char_t *attribute, axis2_char_t *value) |
AXIS2_EXTERN int | oxs_axiom_get_number_of_children_with_qname (const axutil_env_t *env, axiom_node_t *parent, axis2_char_t *local_name, axis2_char_t *ns_uri, axis2_char_t *prefix) |
AXIS2_EXTERN axiom_node_t * | oxs_axiom_get_node_by_local_name (const axutil_env_t *env, axiom_node_t *node, axis2_char_t *local_name) |
AXIS2_EXTERN axiom_node_t * | oxs_axiom_get_node_by_id (const axutil_env_t *env, axiom_node_t *node, axis2_char_t *attr, axis2_char_t *val, axis2_char_t *ns) |
AXIS2_EXTERN axis2_char_t * | oxs_axiom_get_attribute_value_of_node_by_name (const axutil_env_t *env, axiom_node_t *node, axis2_char_t *attribute_name, axis2_char_t *ns) |
AXIS2_EXTERN axis2_char_t * | oxs_axiom_get_attribute_val_of_node_by_qname (const axutil_env_t *env, axiom_node_t *node, axutil_qname_t *qname) |
AXIS2_EXTERN axiom_node_t * | oxs_axiom_get_first_child_node_by_name (const axutil_env_t *env, axiom_node_t *parent, axis2_char_t *local_name, axis2_char_t *ns_uri, axis2_char_t *prefix) |
AXIS2_EXTERN axis2_char_t * | oxs_axiom_get_node_content (const axutil_env_t *env, axiom_node_t *node) |
AXIS2_EXTERN axiom_node_t * | oxs_axiom_deserialize_node (const axutil_env_t *env, axis2_char_t *buffer) |
AXIS2_EXTERN axis2_status_t | oxs_axiom_check_node_name (const axutil_env_t *env, axiom_node_t *node, axis2_char_t *name, axis2_char_t *ns) |
AXIS2_EXTERN axis2_status_t oxs_axiom_add_attribute | ( | const axutil_env_t * | env, | |
axiom_node_t * | node, | |||
axis2_char_t * | attribute_ns, | |||
axis2_char_t * | attribute_ns_uri, | |||
axis2_char_t * | attribute, | |||
axis2_char_t * | value | |||
) |
Adds an attribute to a particular node
env | Environment. MUST NOT be NULL | |
node | the node where the attibute will be added | |
attribute_ns | the the ns_prefix of the attribute | |
attribute_ns_uri | the uri of the attribute | |
attribute | the localname of the attribute | |
value | the value of the attribute |
AXIS2_EXTERN axis2_status_t oxs_axiom_check_node_name | ( | const axutil_env_t * | env, | |
axiom_node_t * | node, | |||
axis2_char_t * | name, | |||
axis2_char_t * | ns | |||
) |
returns 1 sucess 0 otherwise
AXIS2_EXTERN axis2_char_t* oxs_axiom_get_attribute_value_of_node_by_name | ( | const axutil_env_t * | env, | |
axiom_node_t * | node, | |||
axis2_char_t * | attribute_name, | |||
axis2_char_t * | ns | |||
) |
Traverse thru the node and its children. Check if the node has a particular id as in
env | Environment. MUST NOT be NULL, | |
node | the node to be searched | |
attr | the attribute name of the node | |
val | the attribute value of the node |
AXIS2_EXTERN axiom_node_t* oxs_axiom_get_node_by_id | ( | const axutil_env_t * | env, | |
axiom_node_t * | node, | |||
axis2_char_t * | attr, | |||
axis2_char_t * | val, | |||
axis2_char_t * | ns | |||
) |
Traverse thru the node and its children. Check if the node has a particular id as in
env | Environment. MUST NOT be NULL, | |
node | the node to be searched | |
attr | the attribute name of the node | |
val | the attribute value of the node |
AXIS2_EXTERN axiom_node_t* oxs_axiom_get_node_by_local_name | ( | const axutil_env_t * | env, | |
axiom_node_t * | node, | |||
axis2_char_t * | local_name | |||
) |
Traverse thru the node and its children. Check if the localname is equal to the given name
env | Environment. MUST NOT be NULL, | |
node | the node to be searched | |
localname | the local name of the node to be searched |
AXIS2_EXTERN int oxs_axiom_get_number_of_children_with_qname | ( | const axutil_env_t * | env, | |
axiom_node_t * | parent, | |||
axis2_char_t * | local_name, | |||
axis2_char_t * | ns_uri, | |||
axis2_char_t * | prefix | |||
) |
Adds an attribute to a particular node
env | Environment. MUST NOT be NULL, | |
parent | the root element defining start of the search | |
localname | the local part of the qname | |
ns_uri | uri part of the qname | |
prefix | the prefix part of the qname |