Returns the full value of the specified attribute contained in the specified element.

In the case of a single-value attribute, the function returns exactly that value represented by an object corresponding to the attribute data type (see GOMAttribute.valueType).

For a multi-component (list) value (see GOMAttribute.multiValued), the returned object is an array (Object[]) containing all value components (list items).

Parameters:

element

The element whose attribute is requested. If not specified, the generator context element is assumed, i.e. the same as the call: getAttrFullValue(contextElement, attrName)
attrName
The attribute name.

Note: Some DSM Types may support pseudo- (or formula-) attributes. Such attributes are specified with the FlexQuery expressions which calculate the attributes' values from another (real) attributes, possible with the use of some functions.

Pseudo-attributes are treated the same way as the normal ones. (That's actually why the pseudo-attributes were introduced in the first place). Obtaining the value of a pseudo-attribute will just evoke the internal processing of its formula (therefore, if an error occurred during this, it will be reported accordingly). Externally, accessing pseudo-attributes looks the same as the accessing the normal ones. So does this function.

Returns:

The value of the found attribute.

In the case, the attribute has multiple values, the function returns an array of them.

If the element contains no attribute with the specified name (or in the case element == null), the function returns null.

See Also:

getAttrValue(), getAttrValues(), GOMAttribute.fullValue