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, systemPropertypublic UnionIterator(ExprEnvironment env, NodeIterator leftIter, NodeIterator rightIter) throws XPathException
leftIter - the left iteratorrightIter - the right iteratorXPathExceptionpublic boolean hasNext()
hasNext in interface java.util.Iterator<org.w3c.dom.Node>hasNext in class NodeIteratorpublic org.w3c.dom.Node nextNode()
throws XPathException
nextNode in class NodeIteratorXPathExceptionpublic java.lang.Object clone()
clone in class NodeIterator