This method of the ElementImpl class contains the following signatures:
getAttribute(String name)
getAttribute(Name attrName)
Retrieves a named attribute's value.
public Object getAttribute(String name);
Returns the value of the attribute; returns null if the attribute is not found.
name | The name of the attribute. |
Retrieves a named attribute's value.
public Object getAttribute(Name attrName);
Returns the value of the attribute; returns null if the attribute is not found.
name | The name of the attribute. |