|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jaxen.util.FollowingAxisIterator
public class FollowingAxisIterator
Represents the XPath following
axis.
The "following
axis contains all nodes in the same document as the context
node that are after the context node in document order, excluding any descendants
and excluding attribute nodes and namespace nodes."
Constructor Summary | |
---|---|
FollowingAxisIterator(Object contextNode,
Navigator navigator)
Create a new following axis iterator. |
Method Summary | |
---|---|
boolean |
hasNext()
Returns true if there are any following nodes remaining; false otherwise. |
Object |
next()
Returns the next following 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 FollowingAxisIterator(Object contextNode, Navigator navigator) throws UnsupportedAxisException
following
axis iterator.
contextNode
- the node to start fromnavigator
- the object model specific navigator
UnsupportedAxisException
Method Detail |
---|
public boolean hasNext()
hasNext
in interface Iterator
Iterator.hasNext()
public Object next() throws NoSuchElementException
next
in interface Iterator
NoSuchElementException
- if no following nodes remainIterator.next()
public void remove() throws UnsupportedOperationException
remove
in interface Iterator
UnsupportedOperationException
- always
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |