Class AncestorOrSelfAxisIterator
java.lang.Object
org.jaxen.util.AncestorOrSelfAxisIterator
- All Implemented Interfaces:
Iterator
- Direct Known Subclasses:
AncestorAxisIterator
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAncestorOrSelfAxisIterator(Object contextNode, Navigator navigator) Create a newancestor-or-selfaxis iterator. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
contextNode
-
-
Constructor Details
-
Method Details
-
hasNext
-
next
Returns the next ancestor-or-self node.- Specified by:
nextin interfaceIterator- Returns:
- the next ancestor-or-self node
- Throws:
NoSuchElementException- if no ancestors remain- See Also:
-
remove
public void remove()This operation is not supported.- Specified by:
removein interfaceIterator- Throws:
UnsupportedOperationException- always
-