Package org.jaxen.util
Class FollowingSiblingAxisIterator
java.lang.Object
org.jaxen.util.FollowingSiblingAxisIterator
- All Implemented Interfaces:
Iterator
Represents the XPath
following-sibling
axis.
The "following-sibling
axis contains all the
folowing siblings of the context node; if the context node is an
attribute node or namespace node, the following-sibling
axis is empty."- Version:
- 2.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionFollowingSiblingAxisIterator
(Object contextNode, Navigator navigator) Create a newfollowing-sibling
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 siblings remain; false otherwise. -
next
Returns the next following sibling.- Specified by:
next
in interfaceIterator
- Returns:
- the next following sibling
- Throws:
NoSuchElementException
- if no following siblings remain- See Also:
-
remove
This operation is not supported.- Specified by:
remove
in interfaceIterator
- Throws:
UnsupportedOperationException
- always
-