java.io.Serializable
, java.lang.Cloneable
, java.lang.Iterable<org.w3c.dom.Node>
, java.util.Collection<org.w3c.dom.Node>
, java.util.List<org.w3c.dom.Node>
, java.util.RandomAccess
, org.w3c.dom.NodeList
public static class DOMUtil.NodeListImpl
extends java.util.Vector<org.w3c.dom.Node>
implements org.w3c.dom.NodeList
Constructor | Description |
---|---|
NodeListImpl() |
Modifier and Type | Method | Description |
---|---|---|
int |
getLength() |
Get the number of nodes in the list.
|
org.w3c.dom.Node |
item(int i) |
Get a particular node.
|
finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
public int getLength()
getLength
in interface org.w3c.dom.NodeList
public org.w3c.dom.Node item(int i)
item
in interface org.w3c.dom.NodeList
i
- the index of the node to get.