|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AxisIterator
A SequenceIterator is used to iterate over a sequence. An AxisIterator is a SequenceIterator that throws no exceptions, and that always returns nodes. The nodes should all be in the same document (though there are some cases, such as PrependIterator, where this is the responsibility of the user of the class and is not enforced.)
Field Summary |
---|
Fields inherited from interface net.sf.saxon.om.SequenceIterator |
---|
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD |
Method Summary | |
---|---|
Value |
atomize()
Return the atomized value of the current node. |
CharSequence |
getStringValue()
Return the string value of the current node. |
AxisIterator |
iterateAxis(byte axis,
NodeTest test)
Return an iterator over an axis, starting at the current node. |
boolean |
moveNext()
Move to the next node, without returning it. |
Methods inherited from interface net.sf.saxon.om.UnfailingIterator |
---|
current, getAnother, next, position |
Methods inherited from interface net.sf.saxon.om.SequenceIterator |
---|
close, getProperties |
Method Detail |
---|
boolean moveNext()
AxisIterator iterateAxis(byte axis, NodeTest test)
axis
- the axis to iterate over, using a constant such as
Axis.CHILD
test
- a predicate to apply to the nodes before returning them.
NullPointerException
- if there is no current nodeValue atomize() throws XPathException
NullPointerException
- if there is no current node
XPathException
CharSequence getStringValue()
NullPointerException
- if there is no current node
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |