public final class DOMNodeList
extends java.lang.Object
implements org.w3c.dom.NodeList
| Constructor and Description |
|---|
DOMNodeList(java.util.List<org.w3c.dom.Node> extent)
Construct an node list that wraps a supplied list of DOM Nodes.
|
public DOMNodeList(java.util.List<org.w3c.dom.Node> extent)
extent - the list of nodes to be wrappedpublic int getLength()
getLength in interface org.w3c.dom.NodeListpublic org.w3c.dom.Node item(int index)
item in interface org.w3c.dom.NodeListjava.lang.ClassCastException - if the item is not a DOM Node