Class NodeVector

  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector
              extended by issrg.utils.gui.xml.NodeVector
All Implemented Interfaces:, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess, org.w3c.dom.NodeList

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
Constructor Summary
          Creates a new instance of NodeVector
Method Summary
static org.w3c.dom.NodeList getChildElements(java.lang.Object parent)
 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


public NodeVector()
Creates a new instance of NodeVector

Method Detail


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

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


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

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


public static org.w3c.dom.NodeList getChildElements(java.lang.Object parent)