The getAttribute method
- Organization of this page
Description
From the information stored in this object, obtains one attribute value associated with the specified attribute name. If there are two or more attribute values, this method obtains one of these values.
Syntax
public Object getAttribute(String name);
Parameter
- name:
-
Specifies the name of the attribute. If the attribute has an alias, specify that alias.
Exceptions
None
Return value
This method returns the attribute value if it is found. If it is not found, it returns null.