| Contents | Package | Class | Tree | Deprecated | Index | Help | XML for Java | ||
| PREV | NEXT | SHOW LISTS | HIDE LISTS | ||
java.lang.Object
|
+----java.util.Vector
|
+----com.ibm.xml.parser.TXAttributeList
AttributeLists are used to represent collections of Attributes which can be accessed by name or by ordinal. In most cases, AttributeLists are created from Element objects.
| Fields inherited from class java.util.Vector |
| capacityIncrement, elementCount, elementData |
| Constructor Summary | |
| TXAttributeList()
|
|
| Method Summary | |
| void | clear()
|
| java.lang.Object | clone()
|
| Attribute | getAttribute(java.lang.String name)
|
| ElementFactory | getFactory()
|
| int | getLength()
|
| int | indexOf(java.lang.String name)
|
| Attribute | item(int index)
|
| TXAttribute[] | makeArray()
|
| Attribute | remove(java.lang.String name)
|
| Attribute | setAttribute(Attribute attribute)
|
| void | setFactory(ElementFactory factory)
|
| void | setParent(Element parent)
|
| Methods inherited from class java.util.Vector |
| addElement, capacity, clone, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, removeAllElements, removeElement, removeElementAt, setElementAt, setSize, size, toString, trimToSize |
| Methods inherited from class java.lang.Object |
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TXAttributeList()
| Method Detail |
public java.lang.Object clone()
public ElementFactory getFactory()
public void setFactory(ElementFactory factory)
factory
- The factory to be used in creating this Node.
public int indexOf(java.lang.String name)
name
- Name to match against in the AttributeList.
public Attribute getAttribute(java.lang.String name)
This method is defined by DOM.
name
- Name to match against in the AttributeList.
public Attribute setAttribute(Attribute attribute)
This method is defined by DOM.
attribute
- The Attribute to add or replace.
public Attribute remove(java.lang.String name) throws NoSuchNodeException
This method is defined by DOM.
name
- Name to match against in the AttributeList.
public void clear()
public Attribute item(int index)
This method is defined by DOM.
index
- 0-based index which identifies the Attribute to return.
public int getLength()
This method is defined by DOM.
public void setParent(Element parent)
parent
- The Parent for this AttributeList and its child Attributes.
public TXAttribute[] makeArray()
| Contents | Package | Class | Tree | Deprecated | Index | Help | |||
| PREV | NEXT | SHOW LISTS | HIDE LISTS | ||