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. |
public 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-2012 Codehaus. All Rights Reserved.