axis2_any_content_type_ops Struct Reference
[any content type]

#include <axis2_any_content_type.h>

List of all members.

Public Attributes

axis2_status_t(* add_value )(axis2_any_content_type_t *any_content_type, const axis2_env_t *env, const axis2_qname_t *qname, const axis2_char_t *value)
const axis2_char_t *(* get_value )(const axis2_any_content_type_t *any_content_type, const axis2_env_t *env, const axis2_qname_t *qname)
axis2_hash_t *(* get_value_map )(const axis2_any_content_type_t *any_content_type, const axis2_env_t *env)
axis2_status_t(* free )(axis2_any_content_type_t *any_content_type, const axis2_env_t *env)


Detailed Description

any_content_type ops struct.


Member Data Documentation

axis2_status_t( * axis2_any_content_type_ops::add_value)(axis2_any_content_type_t *any_content_type, const axis2_env_t *env, const axis2_qname_t *qname, const axis2_char_t *value)

Adds given value to content value map with given QName.

Parameters:
any_content_type pointer to any content type struct
env pointer to environment struct
qname pointer to QName to be used as key
value value string to be added
Returns:
AXIS2_SUCCESS on success else AXIS2_FAILURE

axis2_status_t( * axis2_any_content_type_ops::free)(axis2_any_content_type_t *any_content_type, const axis2_env_t *env)

Frees any content type struct.

Parameters:
any_content_type pointer to any content type struct
env pointer to environment struct
Returns:
AXIS2_SUCCESS on success else AXIS2_FAILURE

const axis2_char_t*( * axis2_any_content_type_ops::get_value)(const axis2_any_content_type_t *any_content_type, const axis2_env_t *env, const axis2_qname_t *qname)

Gets the value corresponding to the given QName from the content value map.

Parameters:
any_content_type pointer to any content type struct
env pointer to environment struct
qname pointer to QName of the corresponding value to be retrieved
Returns:
value string if present, else returns NULL

axis2_hash_t*( * axis2_any_content_type_ops::get_value_map)(const axis2_any_content_type_t *any_content_type, const axis2_env_t *env)

Gets the map of all values.

Parameters:
any_content_type pointer to any content type struct
env pointer to environment struct
Returns:
pointer to hash table containing all values, returns a reference, not a cloned copy


The documentation for this struct was generated from the following file:
Generated on Tue Oct 3 18:21:18 2006 for Axis2/C by  doxygen 1.4.7