|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ContextNodeList
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 |
|---|
static final int DOCUMENT_ORDER
static final int REVERSE_DOCUMENT_ORDER
static final int UNKNOWN_ORDER
| Method Detail |
|---|
Node first()
throws XPathEvaluationException
XPathEvaluationException
Node next()
throws XPathEvaluationException
XPathEvaluationException
int count()
throws XPathEvaluationException
XPathEvaluationExceptionint position()
int order()
ContextListMark getMark()
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 | ||||||||