public class AncestorOrSelfAxisIterator extends Object implements Iterator
Represents the XPath ancestor-or-self
axis.
The "ancestor-or-self
axis contains the context node and
the ancestors of the context node; thus, the ancestor axis will
always include the root node."
コンストラクタと説明 |
---|
AncestorOrSelfAxisIterator(Object contextNode,
Navigator navigator)
Create a new
ancestor-or-self axis iterator. |
public boolean hasNext()
hasNext
インタフェース内 Iterator
Iterator.hasNext()
public Object next()
next
インタフェース内 Iterator
NoSuchElementException
- if no ancestors remainIterator.next()
public void remove()
remove
インタフェース内 Iterator
UnsupportedOperationException
- alwaysCopyright © 2001-2013 Codehaus. All Rights Reserved.