|
||||||||||
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. 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.
Field Summary |
Fields inherited from interface net.sf.saxon.om.SequenceIterator |
ATOMIZABLE, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD |
Method Summary | |
Item |
current()
Get the current item in the sequence. |
SequenceIterator |
getAnother()
Get another iterator over the same sequence of items, positioned at the start of the sequence. |
Item |
next()
Get the next item in the sequence. |
int |
position()
Get the current position |
Methods inherited from interface net.sf.saxon.om.SequenceIterator |
getProperties |
Method Detail |
public Item next()
next
in interface SequenceIterator
public Item current()
current
in interface SequenceIterator
public int position()
position
in interface SequenceIterator
public SequenceIterator getAnother()
getAnother
in interface SequenceIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |