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, systemPropertypublic NodeListIterator(ExprEnvironment env, org.w3c.dom.NodeList list)
public int getContextPosition()
getContextPosition in interface ExprEnvironmentgetContextPosition in class NodeIteratorpublic int getContextSize()
getContextSize in interface ExprEnvironmentgetContextSize in class NodeIteratorpublic boolean hasNext()
hasNext in interface java.util.Iterator<org.w3c.dom.Node>hasNext in class NodeIteratorpublic org.w3c.dom.Node next()
next in interface java.util.Iterator<org.w3c.dom.Node>next in class NodeIteratorpublic org.w3c.dom.Node nextNode()
nextNode in class NodeIteratorpublic java.lang.Object clone()
clone in class NodeIterator