Class AncestorAxisIterator
java.lang.Object
org.jaxen.util.AncestorOrSelfAxisIterator
org.jaxen.util.AncestorAxisIterator
- All Implemented Interfaces:
Iterator
Represents the XPath
ancestor axis.
The "ancestor axis contains the ancestors of the context node;
the ancestors of the context node consist of the parent of context node and
the parent's parent and so on; thus, the ancestor axis will always include
the root node, unless the context node is the root node."- Version:
- 1.2b12
-
Constructor Summary
ConstructorsConstructorDescriptionAncestorAxisIterator(Object contextNode, Navigator navigator) Create a new ancestor axis iterator. -
Method Summary
Methods inherited from class AncestorOrSelfAxisIterator
hasNext, next, removeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Constructor Details