Typedefs | |
|
typedef struct axiom_attribute | axiom_attribute_t |
Functions | |
| AXIS2_EXTERN axiom_attribute_t * | axiom_attribute_create (const axutil_env_t *env, const axis2_char_t *localname, const axis2_char_t *value, axiom_namespace_t *ns) |
| AXIS2_EXTERN void | axiom_attribute_free_void_arg (void *om_attribute, const axutil_env_t *env) |
| AXIS2_EXTERN void | axiom_attribute_free (struct axiom_attribute *om_attribute, const axutil_env_t *env) |
| AXIS2_EXTERN axutil_qname_t * | axiom_attribute_get_qname (struct axiom_attribute *om_attribute, const axutil_env_t *env) |
| AXIS2_EXTERN int | axiom_attribute_serialize (struct axiom_attribute *om_attribute, const axutil_env_t *env, axiom_output_t *om_output) |
| AXIS2_EXTERN axis2_char_t * | axiom_attribute_get_localname (struct axiom_attribute *om_attribute, const axutil_env_t *env) |
| AXIS2_EXTERN axis2_char_t * | axiom_attribute_get_value (struct axiom_attribute *om_attribute, const axutil_env_t *env) |
| AXIS2_EXTERN axiom_namespace_t * | axiom_attribute_get_namespace (struct axiom_attribute *om_attribute, const axutil_env_t *env) |
| AXIS2_EXTERN axis2_status_t | axiom_attribute_set_localname (struct axiom_attribute *om_attribute, const axutil_env_t *env, const axis2_char_t *localname) |
| AXIS2_EXTERN axis2_status_t | axiom_attribute_set_value (struct axiom_attribute *om_attribute, const axutil_env_t *env, const axis2_char_t *value) |
| AXIS2_EXTERN axis2_status_t | axiom_attribute_set_namespace (struct axiom_attribute *om_attribute, const axutil_env_t *env, axiom_namespace_t *om_namespace) |
| AXIS2_EXTERN struct axiom_attribute * | axiom_attribute_clone (struct axiom_attribute *om_attribute, const axutil_env_t *env) |
| AXIS2_EXTERN axis2_status_t | axiom_attribute_increment_ref (struct axiom_attribute *om_attribute, const axutil_env_t *env) |
| AXIS2_EXTERN axiom_attribute_t * | axiom_attribute_create_str (const axutil_env_t *env, axutil_string_t *localname, axutil_string_t *value, axiom_namespace_t *ns) |
| AXIS2_EXTERN axutil_string_t * | axiom_attribute_get_localname_str (axiom_attribute_t *attribute, const axutil_env_t *env) |
| AXIS2_EXTERN axutil_string_t * | axiom_attribute_get_value_str (axiom_attribute_t *attribute, const axutil_env_t *env) |
| AXIS2_EXTERN axis2_status_t | axiom_attribute_set_localname_str (axiom_attribute_t *attribute, const axutil_env_t *env, axutil_string_t *localname) |
| AXIS2_EXTERN axis2_status_t | axiom_attribute_set_value_str (axiom_attribute_t *attribute, const axutil_env_t *env, axutil_string_t *value) |
| AXIS2_EXTERN struct axiom_attribute* axiom_attribute_clone | ( | struct axiom_attribute * | om_attribute, | |
| const axutil_env_t * | env | |||
| ) | [read] |
clones an om attribute
| om_attibute | ||
| env | environment |
| AXIS2_EXTERN axiom_attribute_t* axiom_attribute_create | ( | const axutil_env_t * | env, | |
| const axis2_char_t * | localname, | |||
| const axis2_char_t * | value, | |||
| axiom_namespace_t * | ns | |||
| ) |
creates an om_attribute struct
| env | Environment. MUST NOT be NULL | |
| localname | localname of the attribute, should not be a null value. | |
| value | normalized attribute value. cannot be NULL | |
| ns | namespace, if any, of the attribute. Optional, can be NULL om_attribute wont free the ns |
| AXIS2_EXTERN axiom_attribute_t* axiom_attribute_create_str | ( | const axutil_env_t * | env, | |
| axutil_string_t * | localname, | |||
| axutil_string_t * | value, | |||
| axiom_namespace_t * | ns | |||
| ) |
Create OM attribute
| om_attribute | a pointer to om_attribute struct | |
| env | environment, MUST NOT be NULL. |
| AXIS2_EXTERN void axiom_attribute_free | ( | struct axiom_attribute * | om_attribute, | |
| const axutil_env_t * | env | |||
| ) |
Free an axiom_attribute struct
| om_attribute | pointer to attribute struct to be freed | |
| env | Environment. MUST NOT be NULL |
| AXIS2_EXTERN void axiom_attribute_free_void_arg | ( | void * | om_attribute, | |
| const axutil_env_t * | env | |||
| ) |
Free om attribute passed as void pointer. This will be cast into appropriate type and then pass the cast object into the om_attribute structure's free method
| om_attribute | pointer to attribute struct to be freed | |
| env | Environment. MUST NOT be NULL |
| AXIS2_EXTERN axis2_char_t* axiom_attribute_get_localname | ( | struct axiom_attribute * | om_attribute, | |
| const axutil_env_t * | env | |||
| ) |
Returns the localname of this attribute
| om_attribute | pointer to attribute struct | |
| env | environment. MUST NOT not be NULL. |
| AXIS2_EXTERN axutil_string_t* axiom_attribute_get_localname_str | ( | axiom_attribute_t * | attribute, | |
| const axutil_env_t * | env | |||
| ) |
Get the localname as a string
| om_attribute | a pointer to om_attribute struct | |
| env | environment, MUST NOT be NULL. |
| AXIS2_EXTERN axiom_namespace_t* axiom_attribute_get_namespace | ( | struct axiom_attribute * | om_attribute, | |
| const axutil_env_t * | env | |||
| ) |
returns namespace of this attribute
| om_attribute | ||
| env | environment MUST NOT be NULL |
| AXIS2_EXTERN axutil_qname_t* axiom_attribute_get_qname | ( | struct axiom_attribute * | om_attribute, | |
| const axutil_env_t * | env | |||
| ) |
Creates and returns a qname struct for this attribute
| om_attribute | pointer to attribute struct for which the qname is to be returned | |
| env | Environment. MUST NOT be NULL |
| AXIS2_EXTERN axis2_char_t* axiom_attribute_get_value | ( | struct axiom_attribute * | om_attribute, | |
| const axutil_env_t * | env | |||
| ) |
returns value of this attribute
| om_attribute | pointer to om_attribute struct | |
| env | environment N not be null |
| AXIS2_EXTERN axutil_string_t* axiom_attribute_get_value_str | ( | axiom_attribute_t * | attribute, | |
| const axutil_env_t * | env | |||
| ) |
Get the value as a string
| om_attribute | a pointer to om_attribute struct | |
| env | environment, MUST NOT be NULL. |
| AXIS2_EXTERN axis2_status_t axiom_attribute_increment_ref | ( | struct axiom_attribute * | om_attribute, | |
| const axutil_env_t * | env | |||
| ) |
Increment the reference counter.
| om_attribute | a pointer to om_attribute struct | |
| env | environment, MUST NOT be NULL. |
| AXIS2_EXTERN int axiom_attribute_serialize | ( | struct axiom_attribute * | om_attribute, | |
| const axutil_env_t * | env, | |||
| axiom_output_t * | om_output | |||
| ) |
Serialize op
| om_attribute | pointer to attribute struct to be serialized | |
| env | Environment. MUST NOT be NULL, | |
| om_output | AXIOM output handler to be used in serializing |
| AXIS2_EXTERN axis2_status_t axiom_attribute_set_localname | ( | struct axiom_attribute * | om_attribute, | |
| const axutil_env_t * | env, | |||
| const axis2_char_t * | localname | |||
| ) |
sets the localname of the attribute
| om_attribute | pointer to om attribute struct. | |
| env | environment, MUST NOT be null. | |
| localname | localname that should be set for this attribute |
| AXIS2_EXTERN axis2_status_t axiom_attribute_set_localname_str | ( | axiom_attribute_t * | attribute, | |
| const axutil_env_t * | env, | |||
| axutil_string_t * | localname | |||
| ) |
Set the localname of the attribute
| om_attribute | a pointer to om_attribute struct | |
| env | environment, MUST NOT be NULL. |
| AXIS2_EXTERN axis2_status_t axiom_attribute_set_namespace | ( | struct axiom_attribute * | om_attribute, | |
| const axutil_env_t * | env, | |||
| axiom_namespace_t * | om_namespace | |||
| ) |
set namespace of the attribute
| om_attribute | a pointer to om_attribute struct | |
| env | environment, MUST NOT be NULL. | |
| om_namespace | a pointer to om_namespace struct that should be set for this attribute |
| AXIS2_EXTERN axis2_status_t axiom_attribute_set_value | ( | struct axiom_attribute * | om_attribute, | |
| const axutil_env_t * | env, | |||
| const axis2_char_t * | value | |||
| ) |
set the attribute value
| om_attribute | a pointer to om_attribute struct. | |
| env | environment, MUST NOT be NULL. | |
| value | value that should be set for this attribute |
| AXIS2_EXTERN axis2_status_t axiom_attribute_set_value_str | ( | axiom_attribute_t * | attribute, | |
| const axutil_env_t * | env, | |||
| axutil_string_t * | value | |||
| ) |
Set the value of the attribute
| om_attribute | a pointer to om_attribute struct | |
| env | environment, MUST NOT be NULL. |
1.5.3