ExpressionContext
public 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, toString
getCurrentNodePointer, getNodeSet, nextNode, nextSet
private EvalContext[] contexts
private boolean prepared
public UnionContext(EvalContext parentContext, EvalContext[] contexts)
parentContext
- parent contextcontexts
- child contextspublic int getDocumentOrder()
EvalContext
getDocumentOrder
in class EvalContext
public boolean setPosition(int position)
EvalContext
setPosition
in class NodeSetContext
position
- to set