Package de.pdark.decentxml
Class TreeIterator
- java.lang.Object
-
- de.pdark.decentxml.TreeIterator
-
-
Constructor Summary
Constructors Constructor Description TreeIterator(NodeWithChildren start)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeWithChildrencurrentNode()protected intgetCursor()StringgetPath()booleanhasNext()protected voidincCursor()Nodenext()protected NodeWithChildrenpop()protected voidpush(NodeWithChildren node)voidremove()protected voidsetCursor(int i)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
TreeIterator
public TreeIterator(NodeWithChildren start)
-
-
Method Detail
-
getPath
public String getPath()
-
push
protected void push(NodeWithChildren node)
-
pop
protected NodeWithChildren pop()
-
currentNode
public NodeWithChildren currentNode()
-
setCursor
protected void setCursor(int i)
-
incCursor
protected void incCursor()
-
getCursor
protected int getCursor()
-
-