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."コンストラクタと説明 |
---|
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 navigatorUnsupportedAxisException
public boolean hasNext()
hasNext
インタフェース内 Iterator
Iterator.hasNext()
public Object next() throws NoSuchElementException
next
インタフェース内 Iterator
NoSuchElementException
- if no following siblings remainIterator.next()
public void remove() throws UnsupportedOperationException
remove
インタフェース内 Iterator
UnsupportedOperationException
- alwaysCopyright © 2001-2013 Codehaus. All Rights Reserved.