public class DescendantAxisIterator extends Object implements Iterator
descendant axis.
The "descendant axis contains the descendants of the context node;
a descendant is a child or a child of a child and so on; thus
the descendant axis never contains attribute or namespace nodes."| コンストラクタと説明 |
|---|
DescendantAxisIterator(Navigator navigator,
Iterator iterator) |
DescendantAxisIterator(Object contextNode,
Navigator navigator)
Create a new
descendant axis iterator. |
public DescendantAxisIterator(Object contextNode, Navigator navigator) throws UnsupportedAxisException
descendant axis iterator.contextNode - the node to start fromnavigator - the object model specific navigatorUnsupportedAxisExceptionpublic boolean hasNext()
hasNext インタフェース内 IteratorIterator.hasNext()public Object next()
next インタフェース内 IteratorNoSuchElementException - if no descendants remainIterator.next()public void remove()
remove インタフェース内 IteratorUnsupportedOperationException - alwaysCopyright © 2001-2013 Codehaus. All Rights Reserved.