textbender.g.xml.dom
Class ElementListNL
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<Element>
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
Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
underlyingNodeList
protected final NodeList underlyingNodeList
ElementListNL
public ElementListNL(NodeList underlyingNodeList)
- Creates a ElementListNL.
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>