Interfaces
Attribute
The Attribute interface contains one or more values associated with an attribute name contained within a named object.
add public void add(int position, Object value) public boolean add(Object value)
Adds a new value to the list of attribute values. If you don't specify a position for the value, the value is added to the list only if there is not a duplicate value in the list. The method returns true if the value is added. If you specify a position for the value, it is added regardless of whether there is a duplication.
clear public void clear()
Removes all the values from the value list.
contains public boolean contains(Object value)
Returns true if the value list already contains the specified value.
get public Object ...
Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.