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:
- 1.2b12
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFollowingAxisIterator(Object contextNode, Navigator navigator) Create a newfollowingaxis 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
-
siblings
-
currentSibling
-
-
Constructor Details
-
Method Details
-
goForward
private boolean goForward() -
goUp
private boolean goUp() -
hasNext
-
next
Returns the next following node.- Specified by:
nextin interfaceIterator- Returns:
- the next following node
- Throws:
NoSuchElementException- if no following nodes remain- See Also:
-
remove
This operation is not supported.- Specified by:
removein interfaceIterator- Throws:
UnsupportedOperationException- always
-