|
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.DescendantAxisIterator
public class DescendantAxisIterator
Represents the XPath 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."
| Constructor Summary | |
|---|---|
DescendantAxisIterator(Navigator navigator,
Iterator iterator)
|
|
DescendantAxisIterator(Object contextNode,
Navigator navigator)
Create a new descendant axis iterator. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Returns true if there are any descendants remaining; false otherwise. |
Object |
next()
Returns the next descendant 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 DescendantAxisIterator(Object contextNode,
Navigator navigator)
throws UnsupportedAxisException
descendant axis iterator.
contextNode - the node to start fromnavigator - the object model specific navigator
UnsupportedAxisException
public DescendantAxisIterator(Navigator navigator,
Iterator iterator)
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface IteratorIterator.hasNext()public Object next()
next in interface IteratorNoSuchElementException - if no descendants 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 | |||||||||