|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmm.util.collection.base.AbstractIterator<Node>
net.sf.mmm.util.xml.base.NodeIterator
public class NodeIterator
This class is used to iterate the
Nodes of a NodeList.
| Field Summary | |
|---|---|
private int |
index
The current index in the nodeList. |
private NodeList |
nodeList
The NodeList to iterate. |
private int |
nodeListLength
The length of the nodeList. |
| Constructor Summary | |
|---|---|
NodeIterator(NodeList nodeList)
The constructor. |
|
| Method Summary | |
|---|---|
protected Node |
findNext()
This method tries to find the next element. |
| Methods inherited from class net.sf.mmm.util.collection.base.AbstractIterator |
|---|
findFirst, hasNext, next, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final NodeList nodeList
NodeList to iterate.
private final int nodeListLength
length of the nodeList.
private int index
index in the nodeList.
| Constructor Detail |
|---|
public NodeIterator(NodeList nodeList)
nodeList - is the NodeList to iterate.| Method Detail |
|---|
protected Node findNext()
next element.
findNext in class AbstractIterator<Node>null if done.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||