The addAttribute method
- Organization of this page
Description
Adds one attribute value to this object. Two or more attribute values can be associated with the same attribute.
Syntax
public void addAttribute(String name, Object attr);
Parameters
- name:
-
Specifies the name of the attribute. If the attribute has an alias, specify that alias.
- attr:
-
Specifies the value of the attribute.
Exceptions
None
Return value
None