public class NodeListIterator extends NodeIterator
Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.NodeList |
_list |
protected int |
_position |
_contextNode, _env, _size, log
Constructor and Description |
---|
NodeListIterator(ExprEnvironment env,
org.w3c.dom.NodeList list) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
clones the iterator
|
int |
getContextPosition()
Returns the current position.
|
int |
getContextSize()
Returns the current position.
|
boolean |
hasNext()
True if there's more data.
|
org.w3c.dom.Node |
next()
Returns the next node.
|
org.w3c.dom.Node |
nextNode()
Returns the next node.
|
copy, getContextNode, getCurrentNode, getFunction, getOwnerDocument, getPositionIndex, getStylesheetEnv, getVar, nextSelectedNode, remove, setContextNode, setMorePositions, stringValue, systemProperty
public NodeListIterator(ExprEnvironment env, org.w3c.dom.NodeList list)
public int getContextPosition()
getContextPosition
in interface ExprEnvironment
getContextPosition
in class NodeIterator
public int getContextSize()
getContextSize
in interface ExprEnvironment
getContextSize
in class NodeIterator
public boolean hasNext()
hasNext
in interface java.util.Iterator<org.w3c.dom.Node>
hasNext
in class NodeIterator
public org.w3c.dom.Node next()
next
in interface java.util.Iterator<org.w3c.dom.Node>
next
in class NodeIterator
public org.w3c.dom.Node nextNode()
nextNode
in class NodeIterator
public java.lang.Object clone()
clone
in class NodeIterator