org.oXML.xpath.iterator
Class PrecedingIterator
java.lang.Object
org.oXML.xpath.iterator.SubNodeIterator
org.oXML.xpath.iterator.PrecedingIterator
- All Implemented Interfaces:
- NodeIterator
- public class PrecedingIterator
- extends SubNodeIterator
overloads getNextNode() to return the preceding nodes of the parent iterator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PrecedingIterator
public PrecedingIterator(NodeIterator root,
NodeFilter filter)
getAncestorOrSelf
protected Node getAncestorOrSelf()
getPrecedingSibling
protected Node getPrecedingSibling()
getDescendantOrSelf
protected Node getDescendantOrSelf()
getNextNode
protected Node getNextNode()
- Description copied from class:
SubNodeIterator
- overload to create a SubNodeIterator that has a different iteration
pattern than the parent NodeIterator.
- Specified by:
getNextNode in class SubNodeIterator
toString
public java.lang.String toString()
- Overrides:
toString in class SubNodeIterator