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, nextSet
getContextNodeList, getContextNodePointer, getCurrentPosition, getJXPathContext, getPosition, getRootContext, getSingleNodePointer, getValue, hasNext, isChildOrderingRequired, next, remove, reset, sortPointers, toString
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 setCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.