org.oXML.xpath.iterator
Class UnionIterator
java.lang.Object
org.oXML.xpath.iterator.UnionIterator
- All Implemented Interfaces:
- NodeIterator
- public class UnionIterator
- extends java.lang.Object
- implements NodeIterator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UnionIterator
public UnionIterator(NodeIterator first,
NodeIterator second)
- construct a NodeIterator that is the union of two other nodesets
position
public int position()
- Description copied from interface:
NodeIterator
- get the position of the current node within this nodeset
- Specified by:
position in interface NodeIterator
getFilter
public NodeFilter getFilter()
setFilter
public void setFilter(NodeFilter filter)
setWhatToShow
public void setWhatToShow(int nodetype)
getWhatToShow
public int getWhatToShow()
nextNode
public Node nextNode()
- Description copied from interface:
NodeIterator
- advance the current node in this nodeset.
- Specified by:
nextNode in interface NodeIterator
- Returns:
- the new current node or null.
toString
public java.lang.String toString()