public class NodeArrayListIterator extends NodeIterator
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<org.w3c.dom.Node> |
_list |
protected int |
_position |
_contextNode, _env, _size, log
Constructor and Description |
---|
NodeArrayListIterator(ExprEnvironment env,
java.util.ArrayList<org.w3c.dom.Node> 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
protected java.util.ArrayList<org.w3c.dom.Node> _list
protected int _position
public NodeArrayListIterator(ExprEnvironment env, java.util.ArrayList<org.w3c.dom.Node> 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