ExpressionContextpublic class UnionContext extends NodeSetContext
| Modifier and Type | Field | Description |
|---|---|---|
private EvalContext[] |
contexts |
|
private boolean |
prepared |
parentContext, position, rootContext| Constructor | Description |
|---|---|
UnionContext(EvalContext parentContext,
EvalContext[] contexts) |
Create a new UnionContext.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getDocumentOrder() |
Determines the document order for this context.
|
boolean |
setPosition(int position) |
Moves the current position to the specified index.
|
getContextNodeList, getContextNodePointer, getCurrentPosition, getJXPathContext, getPosition, getRootContext, getSingleNodePointer, getValue, hasNext, isChildOrderingRequired, next, remove, reset, sortPointers, toStringgetCurrentNodePointer, getNodeSet, nextNode, nextSetprivate EvalContext[] contexts
private boolean prepared
public UnionContext(EvalContext parentContext, EvalContext[] contexts)
parentContext - parent contextcontexts - child contextspublic int getDocumentOrder()
EvalContextgetDocumentOrder in class EvalContextpublic boolean setPosition(int position)
EvalContextsetPosition in class NodeSetContextposition - to set