ExpressionContextUnionContextpublic class NodeSetContext extends EvalContext
NodeSet.| Modifier and Type | Field | Description |
|---|---|---|
private NodeSet |
nodeSet |
|
private boolean |
startedSet |
parentContext, position, rootContext| Constructor | Description |
|---|---|
NodeSetContext(EvalContext parentContext,
NodeSet nodeSet) |
Create a new NodeSetContext.
|
| Modifier and Type | Method | Description |
|---|---|---|
NodePointer |
getCurrentNodePointer() |
Returns the current context node.
|
NodeSet |
getNodeSet() |
Returns the list of all Pointers in this context for all positions
of the parent contexts.
|
boolean |
nextNode() |
Returns true if there is another object in the current set.
|
boolean |
nextSet() |
Returns true if there is another sets of objects to interate over.
|
boolean |
setPosition(int position) |
Moves the current position to the specified index.
|
getContextNodeList, getContextNodePointer, getCurrentPosition, getDocumentOrder, getJXPathContext, getPosition, getRootContext, getSingleNodePointer, getValue, hasNext, isChildOrderingRequired, next, remove, reset, sortPointers, toStringprivate boolean startedSet
private NodeSet nodeSet
public NodeSetContext(EvalContext parentContext, NodeSet nodeSet)
parentContext - parent contextnodeSet - associated NodeSetpublic NodeSet getNodeSet()
EvalContextgetNodeSet in class EvalContextpublic NodePointer getCurrentNodePointer()
EvalContextgetCurrentNodePointer in class EvalContextpublic boolean setPosition(int position)
EvalContextsetPosition in class EvalContextposition - to setpublic boolean nextSet()
EvalContextnextSet in class EvalContextpublic boolean nextNode()
EvalContextnextNode in class EvalContext