public class EmptyAxisIterator<T extends NodeInfo> extends EmptyIterator<T> implements AxisIterator<T>
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Constructor and Description |
|---|
EmptyAxisIterator() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends NodeInfo> |
emptyAxisIterator() |
EmptyAxisIterator<T> |
getAnother()
Get another iterator over the same items, positioned at the start.
|
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.
|
atomize, close, current, emptyIterator, getInstance, getLength, getProperties, getReverseIterator, getStringValue, hasNext, materialize, next, positionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitatomize, current, getStringValue, nextpositionclose, getPropertiespublic static <T extends NodeInfo> EmptyAxisIterator<T> emptyAxisIterator()
public AxisIterator iterateAxis(byte axis, NodeTest test)
iterateAxis in interface AxisIterator<T extends NodeInfo>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 nodepublic EmptyAxisIterator<T> getAnother()
getAnother in interface SequenceIterator<T extends NodeInfo>getAnother in interface AxisIterator<T extends NodeInfo>getAnother in interface UnfailingIterator<T extends NodeInfo>getAnother in class EmptyIterator<T extends NodeInfo>public boolean moveNext()
moveNext in interface AxisIterator<T extends NodeInfo>Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.