org.jaxen.util
public class FollowingAxisIterator extends Object implements Iterator
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 | |
---|---|
Object | contextNode |
Iterator | currentSibling |
Navigator | navigator |
Iterator | siblings |
Constructor Summary | |
---|---|
FollowingAxisIterator(Object contextNode, Navigator navigator)
Create a new following axis iterator.
|
Method Summary | |
---|---|
boolean | goForward() |
boolean | goUp() |
boolean | hasNext()
Returns true if there are any following nodes remaining;
false otherwise.
|
Object | next()
Returns the next following node.
|
void | remove()
This operation is not supported.
|
following
axis iterator.
Parameters: contextNode the node to start from navigator the object model specific navigator
Returns: true if any following nodes remain
See Also: java.util.Iterator#hasNext()
Returns: the next following node
Throws: NoSuchElementException if no following nodes remain
See Also: java.util.Iterator#next()
Throws: UnsupportedOperationException always