html
Class Attributes

java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.AbstractSequentialList
java.util.LinkedList
html.Attributes
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Collection, java.lang.Iterable, java.util.List, java.io.Serializable
- public class Attributes
- extends java.util.LinkedList
| Nested classes inherited from class java.util.LinkedList |
|
| Methods inherited from class java.util.LinkedList |
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, remove, remove, removeFirst, removeLast, set, size, toArray, toArray |
Attributes
public Attributes()
Attributes
public Attributes(java.lang.String attr)
throws java.lang.IllegalArgumentException
Attributes
public Attributes(Attribute[] attrs)
Attributes
public Attributes(Attribute attr)
setAttributes
public void setAttributes(java.lang.String str)
throws java.lang.IllegalArgumentException
- Set the value of attributes.
toString
public java.lang.String toString()
- Description copied from class:
java.util.AbstractCollection
- Creates a String representation of the Collection. The string returned is
of the form "[a, b, ...]" where a and b etc are the results of calling
toString on the elements of the collection. This implementation obtains an
Iterator over the Collection and adds each element to a StringBuffer as it
is returned by the iterator. "" is inserted when the collection
contains itself (only works for direct containment, not for collections
inside collections).