public class UnionContext extends NodeSetContext
Modifier and Type | Field and Description |
---|---|
private EvalContext[] |
contexts |
private boolean |
prepared |
parentContext, position, rootContext
Constructor and Description |
---|
UnionContext(EvalContext parentContext,
EvalContext[] contexts)
Create a new UnionContext.
|
Modifier and Type | Method and Description |
---|---|
int |
getDocumentOrder()
Determines the document order for this context.
|
boolean |
setPosition(int position)
Moves the current position to the specified index.
|
getCurrentNodePointer, getNodeSet, nextNode, nextSet
getContextNodeList, getContextNodePointer, getCurrentPosition, getJXPathContext, getPosition, getRootContext, getSingleNodePointer, getValue, hasNext, isChildOrderingRequired, next, remove, reset, sortPointers, toString
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