issrg.utils.xml
Class NodeVector

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended byissrg.utils.xml.NodeVector
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, org.w3c.dom.NodeList, java.util.RandomAccess, java.io.Serializable

public class NodeVector
extends java.util.Vector
implements org.w3c.dom.NodeList

This class is a NodeList that can be changed. It is used to represent lists of nodes in the components.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
NodeVector()
          Creates a new instance of NodeVector
 
Method Summary
 int getLength()
          Returns the length of the NodeVector.
 org.w3c.dom.Node item(int index)
          Returns a node at a particular index.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

NodeVector

public NodeVector()
Creates a new instance of NodeVector

Method Detail

getLength

public int getLength()
Returns the length of the NodeVector.

Specified by:
getLength in interface org.w3c.dom.NodeList
Returns:
the number of items in this NodeVector

item

public org.w3c.dom.Node item(int index)
Returns a node at a particular index.

Specified by:
item in interface org.w3c.dom.NodeList
Parameters:
index - index of the node to retrieve.
Returns:
the node that was retrieved at the (index) location.