|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface that represents a context node list used for evaluating an expression
Field Summary | |
static int |
DOCUMENT_ORDER
When returned from order(), indicates first()-next() product nodes in document order |
static int |
REVERSE_DOCUMENT_ORDER
When returned from order(), indicates first()-next() product nodes in reverse-document order |
static int |
UNKNOWN_ORDER
When returned from order(), indicates first()-next() product nodes in something other than document or reverse-document order |
Method Summary | |
int |
count()
Return a count of nodes in the context node list. |
Node |
first()
Return the first node in the context node list. |
ContextListMark |
getMark()
Return a marker to a position in a ContextNodeList. |
Node |
next()
Return a the subsequent node in the context node list after a call to first() or next() |
int |
order()
Return order in which nodes are returned from first()-next() |
int |
position()
Return the position of the last node returned by a call to first() or next() |
Node |
returnToMark(ContextListMark mark)
Go to a position in a ContextNodeList previously marked with getMark() |
Field Detail |
public static final int DOCUMENT_ORDER
public static final int REVERSE_DOCUMENT_ORDER
public static final int UNKNOWN_ORDER
Method Detail |
public Node first() throws XPathEvaluationException
XPathEvaluationException
public Node next() throws XPathEvaluationException
XPathEvaluationException
public int count() throws XPathEvaluationException
XPathEvaluationException
public int position()
public int order()
public ContextListMark getMark()
public Node returnToMark(ContextListMark mark)
mark
- mark returned from getMark()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |