Package net.sf.saxon.dom
Class DOMNodeList
java.lang.Object
net.sf.saxon.dom.DOMNodeList
- All Implemented Interfaces:
NodeList
This class wraps a list of nodes as a DOM NodeList
-
Constructor Summary
ConstructorsConstructorDescriptionDOMNodeList
(List<Node> extent) Construct an node list that wraps a supplied list of DOM Nodes. -
Method Summary
-
Constructor Details
-
DOMNodeList
Construct an node list that wraps a supplied list of DOM Nodes.- Parameters:
extent
- the list of nodes to be wrapped
-
-
Method Details
-
getLength
public int getLength()return the number of nodes in the list (DOM method) -
item
Return the n'th item in the list (DOM method)- Specified by:
item
in interfaceNodeList
- Throws:
ClassCastException
- if the item is not a DOM Node
-