Adds an additional value to an attribute.
Syntax
void
addAttribute
(
String
name
,
String
value
)
Parameters
-
name –
the name of the attribute
-
value –
the value to add
Exceptions
-
IllegalStateException –
if called after marked read only
Usage
If the attribute does not exist, it will be created.