|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.dom.DOMNodeList
This class wraps a SequenceExtent as a DOM NodeList - though this will only work if the items are nodes, and if the nodes themselves implement the DOM Node interface (which is true of the two Saxon tree models, but not necessarily of all possible implementations).
Constructor Summary | |
DOMNodeList(SequenceExtent extent)
Construct an node list that wraps a supplied SequenceExtent |
Method Summary | |
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) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DOMNodeList(SequenceExtent extent)
Method Detail |
public int getLength()
getLength
in interface NodeList
public Node item(int index)
item
in interface NodeList
ClassCastException
- if the item is not a DOM Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |