public interface AxisIterator extends UnfailingIterator
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
Modifier and Type | Method and Description |
---|---|
Value |
atomize()
Return the atomized value of the current node.
|
java.lang.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.
|
current, getAnother, next, position
close, getProperties
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.java.lang.NullPointerException
- if there is no current nodeValue atomize() throws XPathException
java.lang.NullPointerException
- if there is no current nodeXPathException
java.lang.CharSequence getStringValue()
java.lang.NullPointerException
- if there is no current node