attribute
[AXIOM]


Classes

struct  axiom_attribute_ops
 attribute ops struct ops Encapsulator struct for axiom_attribute More...
struct  axiom_attribute
 attribute struct Handles the XML attribute in AXIOM More...

Defines

#define AXIOM_ATTRIBUTE_FREE(om_attribute, env)   ((om_attribute)->ops->free(om_attribute, env))
#define AXIOM_ATTRIBUTE_GET_QNAME(om_attribute, env)   ((om_attribute)->ops->get_qname(om_attribute, env))
#define AXIOM_ATTRIBUTE_SERIALIZE(om_attribute, env, om_ouput)   ((om_attribute)->ops->serialize(om_attribute, env, om_output))
#define AXIOM_ATTRIBUTE_GET_NAMESPACE(om_attribute, env)   ((om_attribute)->ops->get_namespace(om_attribute, env))
#define AXIOM_ATTRIBUTE_GET_LOCALNAME(om_attribute, env)   ((om_attribute)->ops->get_localname(om_attribute, env))
#define AXIOM_ATTRIBUTE_GET_VALUE(om_attribute, env)   ((om_attribute)->ops->get_value(om_attribute, env))
#define AXIOM_ATTRIBUTE_SET_NAMESPACE(om_attribute, env, ns)   ((om_attribute)->ops->set_namespace(om_attribute, env,ns))
#define AXIOM_ATTRIBUTE_SET_LOCALNAME(om_attribute, env, localname)   ((om_attribute)->ops->set_localname(om_attribute, env,localname))
#define AXIOM_ATTRIBUTE_SET_VALUE(om_attribute, env, value)   ((om_attribute)->ops->set_value(om_attribute, env,value))
#define AXIOM_ATTRIBUTE_CLONE(om_attribute, env)   ((om_attribute)->ops->clone(om_attribute, env))

Typedefs

typedef axiom_attribute_ops axiom_attribute_ops_t
 attribute ops struct ops Encapsulator struct for axiom_attribute
typedef axiom_attribute axiom_attribute_t
 attribute struct Handles the XML attribute in AXIOM

Functions

AXIS2_EXTERN axiom_attribute_taxiom_attribute_create (const axis2_env_t *env, const axis2_char_t *localname, const axis2_char_t *value, axiom_namespace_t *ns)
AXIS2_EXTERN axis2_status_t axiom_attribute_free_void_arg (void *om_attribute, const axis2_env_t *env)

Define Documentation

#define AXIOM_ATTRIBUTE_FREE ( om_attribute,
env   )     ((om_attribute)->ops->free(om_attribute, env))

free given attribute

#define AXIOM_ATTRIBUTE_GET_LOCALNAME ( om_attribute,
env   )     ((om_attribute)->ops->get_localname(om_attribute, env))

get attribute localname

#define AXIOM_ATTRIBUTE_GET_NAMESPACE ( om_attribute,
env   )     ((om_attribute)->ops->get_namespace(om_attribute, env))

get namespace of an the attribute

#define AXIOM_ATTRIBUTE_GET_QNAME ( om_attribute,
env   )     ((om_attribute)->ops->get_qname(om_attribute, env))

get qname of given attribute

#define AXIOM_ATTRIBUTE_GET_VALUE ( om_attribute,
env   )     ((om_attribute)->ops->get_value(om_attribute, env))

grt value of attribute

#define AXIOM_ATTRIBUTE_SERIALIZE ( om_attribute,
env,
om_ouput   )     ((om_attribute)->ops->serialize(om_attribute, env, om_output))

serialize given attribute

#define AXIOM_ATTRIBUTE_SET_LOCALNAME ( om_attribute,
env,
localname   )     ((om_attribute)->ops->set_localname(om_attribute, env,localname))

set localname for this attribute

#define AXIOM_ATTRIBUTE_SET_NAMESPACE ( om_attribute,
env,
ns   )     ((om_attribute)->ops->set_namespace(om_attribute, env,ns))

set namespace for this attribute

#define AXIOM_ATTRIBUTE_SET_VALUE ( om_attribute,
env,
value   )     ((om_attribute)->ops->set_value(om_attribute, env,value))

set attribue value


Function Documentation

AXIS2_EXTERN axiom_attribute_t* axiom_attribute_create ( const axis2_env_t env,
const axis2_char_t *  localname,
const axis2_char_t *  value,
axiom_namespace_t ns 
)

creates an om_attribute struct

Parameters:
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
Returns:
a pointer to newly created attribute struct, returns NULL on error with error code set in environment's error.

AXIS2_EXTERN axis2_status_t axiom_attribute_free_void_arg ( void *  om_attribute,
const axis2_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


Generated on Tue Oct 3 22:35:59 2006 for Axis2/C by  doxygen 1.4.7