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