Package net.sf.saxon.dom
Class DOMNodeList
- java.lang.Object
-
- net.sf.saxon.dom.DOMNodeList
-
-
Constructor Summary
Constructors Constructor Description DOMNodeList(List<Node> extent)
Construct an node list that wraps a supplied list of DOM Nodes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLength()
return the number of nodes in the list (DOM method)Node
item(int index)
Return the n'th item in the list (DOM method)
-
-
-
Method Detail
-
getLength
public int getLength()
return the number of nodes in the list (DOM method)
-
item
public Node item(int index)
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
-
-