|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.xpath.pattern.NodeIterator
com.caucho.xpath.pattern.UnionIterator
public class UnionIterator
Uses the axis to select new nodes.
| Field Summary |
|---|
| Fields inherited from class com.caucho.xpath.pattern.NodeIterator |
|---|
_contextNode, _env, _position, _size, log |
| Constructor Summary | |
|---|---|
UnionIterator(ExprEnvironment env,
NodeIterator leftIter,
NodeIterator rightIter)
Creates the new AxisIterator. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.caucho.xpath.pattern.NodeIterator |
|---|
copy, getContextNode, getContextPosition, getContextSize, getCurrentNode, getFunction, getOwnerDocument, getPositionIndex, getStylesheetEnv, getVar, next, nextSelectedNode, remove, setContextNode, setMorePositions, stringValue, systemProperty |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnionIterator(ExprEnvironment env,
NodeIterator leftIter,
NodeIterator rightIter)
throws XPathException
leftIter - the left iteratorrightIter - the right iterator
XPathException| Method Detail |
|---|
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 NodeIteratorXPathExceptionpublic java.lang.Object clone()
clone in class NodeIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||