Detailed Description
any content type acts as a container for any type reference parameters that could be associated with an endpoint reference. The values in the map are stored in string format, with QNames as key values.
Typedef Documentation
Type name for axis2_any_content_type
Function Documentation
AXIS2_EXTERN axis2_status_t axis2_any_content_type_add_value |
( |
axis2_any_content_type_t * |
any_content_type, |
|
|
const axutil_env_t * |
env, |
|
|
const axutil_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
Creates an instance of any content type struct.
- Parameters:
-
| env | pointer to environment struct |
- Returns:
- pointer to the newly created any content type instance
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
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
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