public class UnionIterator extends NodeIterator
_contextNode, _env, _position, _size, log
Constructor and Description |
---|
UnionIterator(ExprEnvironment env,
NodeIterator leftIter,
NodeIterator rightIter)
Creates the new AxisIterator.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns a clone of the iterator.
|
boolean |
hasNext()
True if there's more data.
|
org.w3c.dom.Node |
nextNode()
Returns the next selected node.
|
copy, getContextNode, getContextPosition, getContextSize, getCurrentNode, getFunction, getOwnerDocument, getPositionIndex, getStylesheetEnv, getVar, next, nextSelectedNode, remove, setContextNode, setMorePositions, stringValue, systemProperty
public UnionIterator(ExprEnvironment env, NodeIterator leftIter, NodeIterator rightIter) throws XPathException
leftIter
- the left iteratorrightIter
- the right iteratorXPathException
public boolean hasNext()
hasNext
in interface java.util.Iterator<org.w3c.dom.Node>
hasNext
in class NodeIterator
public org.w3c.dom.Node nextNode() throws XPathException
nextNode
in class NodeIterator
XPathException
public java.lang.Object clone()
clone
in class NodeIterator