Main Page | Modules | Class List | Directories | File List | Class Members | File Members

OM Attribute
[AXIOM (Axis Object Model)]


Classes

struct  axis2_om_attribute_ops
 OM attribute operations struct operations Encapsulator struct for axis2_om_attribute. More...
struct  axis2_om_attribute
 OM attribute struct Handles the XML attribute in OM. More...

Defines

#define AXIS2_OM_ATTRIBUTE_FREE(om_attribute, env)   ((om_attribute)->ops->free(om_attribute, env))
#define AXIS2_OM_ATTRIBUTE_GET_QNAME(om_attribute, env)   ((om_attribute)->ops->get_qname(om_attribute, env))
#define AXIS2_OM_ATTRIBUTE_SERIALIZE(om_attribute, env, om_ouput)   ((om_attribute)->ops->serialize(om_attribute, env, om_output))
#define AXIS2_OM_ATTRIBUTE_GET_NAMESPACE(om_attribute, env)   ((om_attribute)->ops->get_namespace(om_attribute, env))
#define AXIS2_OM_ATTRIBUTE_GET_LOCALNAME(om_attribute, env)   ((om_attribute)->ops->get_localname(om_attribute, env))
#define AXIS2_OM_ATTRIBUTE_GET_VALUE(om_attribute, env)   ((om_attribute)->ops->get_value(om_attribute, env))
#define AXIS2_OM_ATTRIBUTE_SET_NAMESPACE(om_attribute, env, ns)   ((om_attribute)->ops->set_namespace(om_attribute, env,ns))
#define AXIS2_OM_ATTRIBUTE_SET_LOCALNAME(om_attribute, env, localname)   ((om_attribute)->ops->set_localname(om_attribute, env,localname))
#define AXIS2_OM_ATTRIBUTE_SET_VALUE(om_attribute, env, value)   ((om_attribute)->ops->set_value(om_attribute, env,value))

Typedefs

typedef axis2_om_attribute_ops axis2_om_attribute_ops_t
 OM attribute operations struct operations Encapsulator struct for axis2_om_attribute.
typedef axis2_om_attribute axis2_om_attribute_t
 OM attribute struct Handles the XML attribute in OM.

Functions

axis2_om_attribute_taxis2_om_attribute_create (axis2_env_t **env, const axis2_char_t *localname, const axis2_char_t *value, axis2_om_namespace_t *ns)

Define Documentation

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

free given attribute

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

get attribute localname

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

get namespace of an the attribute

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

get qname of given attribute

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

grt value of attribute

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

serialize given attribute

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

set localname for this attribute

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

set namespace for this attribute

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

set attribue value


Function Documentation

axis2_om_attribute_t* axis2_om_attribute_create axis2_env_t **  env,
const axis2_char_t localname,
const axis2_char_t value,
axis2_om_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.


Generated on Thu Nov 24 13:58:32 2005 for Axis2/C by  doxygen 1.4.2