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 NodeWithChildren
currentNode()
protected int
getCursor()
String
getPath()
boolean
hasNext()
protected void
incCursor()
Node
next()
protected NodeWithChildren
pop()
protected void
push(NodeWithChildren node)
void
remove()
protected void
setCursor(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()
-
-