Convenience method for getting single-valued attributes.
Syntax
String
getAttribute
(
String
name
)
Parameters
-
name –
The name of the attribute whose value should be retrieved.
Returns
The first value for the named attribute. If there are no attribute values with the given name, it returns null.