public class FollowingSiblingAxisIterator extends Object implements Iterator
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."| Constructor and Description |
|---|
FollowingSiblingAxisIterator(Object contextNode,
Navigator navigator)
Create a new
following-sibling axis iterator. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Returns true if there are any following siblings remain; false otherwise.
|
Object |
next()
Returns the next following sibling.
|
void |
remove()
This operation is not supported.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic FollowingSiblingAxisIterator(Object contextNode, Navigator navigator) throws UnsupportedAxisException
following-sibling axis iterator.contextNode - the node to start fromnavigator - the object model specific navigatorUnsupportedAxisExceptionpublic boolean hasNext()
hasNext in interface IteratorIterator.hasNext()public Object next() throws NoSuchElementException
next in interface IteratorNoSuchElementException - if no following siblings remainIterator.next()public void remove()
throws UnsupportedOperationException
remove in interface IteratorUnsupportedOperationException - alwaysCopyright © 2001–2016 Codehaus. All rights reserved.