public class NodeList
extends java.util.AbstractList<org.w3c.dom.Node>
implements org.w3c.dom.NodeList
Constructor and Description |
---|
NodeList(org.w3c.dom.NodeList nodes)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Node |
get(int index) |
int |
getLength() |
org.w3c.dom.Node |
item(int index) |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public NodeList(org.w3c.dom.NodeList nodes)
nodes
- The node list to wrap.public org.w3c.dom.Node get(int index)
get
in interface java.util.List<org.w3c.dom.Node>
get
in class java.util.AbstractList<org.w3c.dom.Node>
public int getLength()
getLength
in interface org.w3c.dom.NodeList
public org.w3c.dom.Node item(int index)
item
in interface org.w3c.dom.NodeList
public int size()
size
in interface java.util.Collection<org.w3c.dom.Node>
size
in interface java.util.List<org.w3c.dom.Node>
size
in class java.util.AbstractCollection<org.w3c.dom.Node>
Copyright © 2005-2024 Restlet.