Package org.jaxen.util
Class FollowingAxisIterator
java.lang.Object
org.jaxen.util.FollowingAxisIterator
- All Implemented Interfaces:
Iterator
Represents the XPath
following
axis.
The "following
axis contains all nodes in the same document as the context
node that are after the context node in document order, excluding any descendants
and excluding attribute nodes and namespace nodes."- Version:
- 2.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionFollowingAxisIterator
(Object contextNode, Navigator navigator) Create a newfollowing
axis iterator. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
Method Details
-
hasNext
public boolean hasNext()Returns true if there are any following nodes remaining; false otherwise. -
next
Returns the next following node.- Specified by:
next
in interfaceIterator
- Returns:
- the next following node
- Throws:
NoSuchElementException
- if no following nodes remain- See Also:
-
remove
This operation is not supported.- Specified by:
remove
in interfaceIterator
- Throws:
UnsupportedOperationException
- always
-