|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.xpath.pattern.NodeIterator
com.caucho.xpath.pattern.NodeArrayListIterator
public class NodeArrayListIterator
Iterates through matching nodes.
| Field Summary | |
|---|---|
protected java.util.ArrayList<org.w3c.dom.Node> |
_list
|
protected int |
_position
|
| Fields inherited from class com.caucho.xpath.pattern.NodeIterator |
|---|
_contextNode, _env, _size, log |
| Constructor Summary | |
|---|---|
NodeArrayListIterator(ExprEnvironment env,
java.util.ArrayList<org.w3c.dom.Node> list)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.caucho.xpath.pattern.NodeIterator |
|---|
copy, getContextNode, getCurrentNode, getFunction, getOwnerDocument, getPositionIndex, getStylesheetEnv, getVar, nextSelectedNode, remove, setContextNode, setMorePositions, stringValue, systemProperty |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.ArrayList<org.w3c.dom.Node> _list
protected int _position
| Constructor Detail |
|---|
public NodeArrayListIterator(ExprEnvironment env,
java.util.ArrayList<org.w3c.dom.Node> list)
| Method Detail |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||