public class UnionContext extends NodeSetContext
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, nextSetgetContextNodeList, getContextNodePointer, getCurrentPosition, getJXPathContext, getPosition, getRootContext, getSingleNodePointer, getValue, hasNext, isChildOrderingRequired, next, remove, reset, sortPointers, toStringpublic 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 setCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.