public class PrecedingSiblingAxisIterator extends Object implements Iterator
preceding-sibling axis.
The "preceding-sibling axis contains all the
preceding siblings of the context node; if the context node is an
attribute node or namespace node, the preceding-sibling
axis is empty."| コンストラクタと説明 |
|---|
PrecedingSiblingAxisIterator(Object contextNode,
Navigator navigator)
Create a new
preceding-sibling axis iterator. |
public PrecedingSiblingAxisIterator(Object contextNode, Navigator navigator) throws UnsupportedAxisException
preceding-sibling axis iterator.contextNode - the node to start fromnavigator - the object model specific navigatorUnsupportedAxisExceptionpublic boolean hasNext()
hasNext インタフェース内 IteratorIterator.hasNext()public Object next() throws NoSuchElementException
next インタフェース内 IteratorNoSuchElementException - if no preceding siblings remainIterator.next()public void remove()
throws UnsupportedOperationException
remove インタフェース内 IteratorUnsupportedOperationExceptionCopyright © 2001-2013 Codehaus. All Rights Reserved.