public class NodeListIterator extends ListIterator implements AxisIterator
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
?????? |
---|
NodeListIterator(java.util.List list)
Create a NodeListIterator.
|
?????? | ????? |
---|---|
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.
|
close, current, getAnother, getLastPosition, getProperties, hasNext, materialize, next, position
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
current, getAnother, next, position
close, getProperties
public NodeListIterator(java.util.List list)
list
- the list, all of whose members must be instances of NodeInfo (this is not checked)public boolean moveNext()
moveNext
???? AxisIterator
public AxisIterator iterateAxis(byte axis, NodeTest test)
iterateAxis
???? AxisIterator
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 nodepublic Value atomize() throws XPathException
atomize
???? AxisIterator
java.lang.NullPointerException
- if there is no current nodeXPathException
public java.lang.CharSequence getStringValue()
getStringValue
???? AxisIterator
java.lang.NullPointerException
- if there is no current node