|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A SequenceIterator is used to iterate over a sequence. An AxisIterator is a SequenceIterator that throws no exceptions; it also supports the ability to find the last() position, again with no exceptions. Despite its name, an AxisIterator is not invariably used to find nodes on an axis of a tree, though this is its most common use. For example, the class ArrayIterator is also defined as an AxisIterator.
Method Summary | |
Item |
current()
Get the current node in sequence. |
boolean |
hasNext()
Determine whether there are more nodes to come. |
Item |
next()
Get the next node in sequence. |
int |
position()
Get the current position |
Methods inherited from interface net.sf.saxon.om.SequenceIterator |
getAnother |
Method Detail |
public boolean hasNext()
hasNext
in interface SequenceIterator
public Item next()
next
in interface SequenceIterator
public Item current()
current
in interface SequenceIterator
public int position()
position
in interface SequenceIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |