org.oXML.xpath.iterator
Class FollowingIterator

java.lang.Object
  extended byorg.oXML.xpath.iterator.SubNodeIterator
      extended byorg.oXML.xpath.iterator.FollowingIterator
All Implemented Interfaces:
NodeIterator

public class FollowingIterator
extends SubNodeIterator

overloads getNextNode() to return the following nodes of the parent iterator


Field Summary
 
Fields inherited from class org.oXML.xpath.iterator.SubNodeIterator
parent
 
Constructor Summary
FollowingIterator(NodeIterator root, NodeFilter filter)
           
 
Method Summary
protected  Node getAncestorOrSelf()
           
protected  Node getDescendantOrSelf()
           
protected  Node getFollowingSibling()
           
protected  Node getNextNode()
          overload to create a SubNodeIterator that has a different iteration pattern than the parent NodeIterator.
 java.lang.String toString()
           
 
Methods inherited from class org.oXML.xpath.iterator.SubNodeIterator
getFilter, getWhatToShow, nextNode, position, setFilter, setWhatToShow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FollowingIterator

public FollowingIterator(NodeIterator root,
                         NodeFilter filter)
Method Detail

getAncestorOrSelf

protected Node getAncestorOrSelf()

getFollowingSibling

protected Node getFollowingSibling()

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