Class DOMNodeList
java.lang.Object
net.sf.saxon.dom.DOMNodeList
- All Implemented Interfaces:
NodeList
-
Constructor Summary
ConstructorsConstructorDescriptionDOMNodeList(List extent) Construct an node list that wraps a supplied SequenceExtent. -
Method Summary
Modifier and TypeMethodDescriptionstatic DOMNodeListcheckAndMake(SequenceExtent extent) Construct an node list that wraps a supplied SequenceExtent, checking that all the items in the sequence are wrappers around DOM Nodesintreturn the number of nodes in the list (DOM method)item(int index) Return the n'th item in the list (DOM method)
-
Constructor Details
-
DOMNodeList
Construct an node list that wraps a supplied SequenceExtent. This constructor does not check that the items in the supplied SequenceExtent are indeed DOM Nodes.
-
-
Method Details
-
checkAndMake
Construct an node list that wraps a supplied SequenceExtent, checking that all the items in the sequence are wrappers around DOM Nodes- Throws:
XPathException
-
getLength
-
item
Return the n'th item in the list (DOM method)- Specified by:
itemin interfaceNodeList- Throws:
ClassCastException- if the item is not a DOM Node
-