org.w3c.dom.NodeListpublic final class DOMNodeList
extends java.lang.Object
implements org.w3c.dom.NodeList
| Constructor | Description |
|---|---|
DOMNodeList(java.util.List extent) |
Construct an node list that wraps a supplied SequenceExtent.
|
| Modifier and Type | Method | Description |
|---|---|---|
static DOMNodeList |
checkAndMake(SequenceExtent extent) |
Construct an node list that wraps a supplied SequenceExtent, checking that all the
items in the sequence are wrappers around DOM Nodes
|
int |
getLength() |
return the number of nodes in the list (DOM method)
|
org.w3c.dom.Node |
item(int index) |
Return the n'th item in the list (DOM method)
|
public DOMNodeList(java.util.List extent)
public static DOMNodeList checkAndMake(SequenceExtent extent) throws XPathException
XPathExceptionpublic 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