public interface AxisIterator<T extends NodeInfo> extends UnfailingIterator<T>
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Modifier and Type | Method and Description |
|---|---|
Sequence |
atomize()
Return the atomized value of the current node.
|
T |
current()
Get the current item in the sequence.
|
AxisIterator<T> |
getAnother()
Get another iterator over the same sequence of items, positioned at the
start of the sequence.
|
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.
|
T |
next()
Get the next item in the sequence.
|
positionclose, getPropertiesboolean moveNext()
T next()
UnfailingIteratornext in interface SequenceIterator<T extends NodeInfo>next in interface UnfailingIterator<T extends NodeInfo>T current()
UnfailingIteratorcurrent in interface SequenceIterator<T extends NodeInfo>current in interface UnfailingIterator<T extends NodeInfo>AxisIterator<T> getAnother()
UnfailingIteratorgetAnother in interface SequenceIterator<T extends NodeInfo>getAnother in interface UnfailingIterator<T extends NodeInfo>AxisIterator iterateAxis(byte axis, NodeTest test)
axis - the axis to iterate over, using a constant such as
AxisInfo.CHILDtest - a predicate to apply to the nodes before returning them.NullPointerException - if there is no current nodeSequence atomize() throws XPathException
NullPointerException - if there is no current nodeXPathException - if the current node
cannot be atomized, for example because it is an element node with
element-only content.CharSequence getStringValue()
NullPointerException - if there is no current nodeCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.