Class DescendantAxisIterator
java.lang.Object
org.jaxen.util.DescendantAxisIterator
- All Implemented Interfaces:
Iterator
- Direct Known Subclasses:
DescendantOrSelfAxisIterator
Represents the XPath
descendant axis.
The "descendant axis contains the descendants of the context node;
a descendant is a child or a child of a child and so on; thus
the descendant axis never contains attribute or namespace nodes."- Version:
- 1.2b12
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDescendantAxisIterator(Object contextNode, Navigator navigator) Create a newdescendantaxis iterator.DescendantAxisIterator(Navigator navigator, Iterator 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
-
stack
-
children
-
-
Constructor Details
-
Method Details
-
hasNext
-
next
Returns the next descendant node.- Specified by:
nextin interfaceIterator- Returns:
- the next descendant node
- Throws:
NoSuchElementException- if no descendants remain- See Also:
-
remove
public void remove()This operation is not supported.- Specified by:
removein interfaceIterator- Throws:
UnsupportedOperationException- always
-