org.inria.ns.reflex.xml.xpath.axes
Class AncestorAxisIterator

java.lang.Object
  extended by org.inria.ns.reflex.xml.xpath.axes.AncestorOrSelfAxisIterator
      extended by org.inria.ns.reflex.xml.xpath.axes.AncestorAxisIterator
All Implemented Interfaces:
Iterator

public class AncestorAxisIterator
extends AncestorOrSelfAxisIterator

An implementation of the XPath ancestor axis. This class is based on Jaxen, but is independant of a given Jaxen navigator.

Author:
Philippe Poulard

Constructor Summary
AncestorAxisIterator(Object contextNode)
          Create a new ancestor axis iterator.
 
Method Summary
 
Methods inherited from class org.inria.ns.reflex.xml.xpath.axes.AncestorOrSelfAxisIterator
hasNext, next, remove
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AncestorAxisIterator

public AncestorAxisIterator(Object contextNode)
Create a new ancestor axis iterator.

Parameters:
contextNode - the node to start from
navigator - the object model specific navigator