|
jaxen 1.1.3-redhat-2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jaxen.util.AncestorOrSelfAxisIterator
public class AncestorOrSelfAxisIterator
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."
| Constructor Summary | |
|---|---|
AncestorOrSelfAxisIterator(Object contextNode,
Navigator navigator)
Create a new ancestor-or-self axis iterator. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Returns true if there are any nodes remaining on the ancestor-or-self axis; false otherwise. |
Object |
next()
Returns the next ancestor-or-self node. |
void |
remove()
This operation is not supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AncestorOrSelfAxisIterator(Object contextNode,
Navigator navigator)
ancestor-or-self axis iterator.
contextNode - the node to start fromnavigator - the object model specific navigator| Method Detail |
|---|
public boolean hasNext()
hasNext in interface IteratorIterator.hasNext()public Object next()
next in interface IteratorNoSuchElementException - if no ancestors remainIterator.next()public void remove()
remove in interface IteratorUnsupportedOperationException - always
|
jaxen 1.1.3-redhat-2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||