textbender.g.xml.dom
Class ElementListNL

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<Element>
          extended by ElementListNL
All Implemented Interfaces:
Iterable<Element>, Collection<Element>, List<Element>

public class ElementListNL
extends AbstractList<Element>

A list of elements backed by a NodeList.

See Also:
NodeListNL

Field Summary
protected  NodeList underlyingNodeList
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ElementListNL(NodeList underlyingNodeList)
          Creates a ElementListNL.
 
Method Summary
 Element get(int index)
           
 int size()
           
 NodeList underlyingNodeList()
           
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Field Detail

underlyingNodeList

protected final NodeList underlyingNodeList
Constructor Detail

ElementListNL

public ElementListNL(NodeList underlyingNodeList)
Creates a ElementListNL.

Method Detail

underlyingNodeList

public NodeList underlyingNodeList()

get

public Element get(int index)
Specified by:
get in interface List<Element>
Specified by:
get in class AbstractList<Element>

size

public int size()
Specified by:
size in interface Collection<Element>
Specified by:
size in interface List<Element>
Specified by:
size in class AbstractCollection<Element>