|
||||||||||
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 list of nodes as a DOM NodeList
Constructor Summary | |
DOMNodeList(java.util.List extent)
Construct an node list that wraps a supplied SequenceExtent. |
Method Summary | |
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) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DOMNodeList(java.util.List extent)
Method Detail |
public static DOMNodeList checkAndMake(SequenceExtent extent) throws XPathException
XPathException
public int getLength()
getLength
in interface org.w3c.dom.NodeList
public org.w3c.dom.Node item(int index)
item
in interface org.w3c.dom.NodeList
index
th position in the
NodeList
, or null
if that is not a valid
index.
java.lang.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 |