Package de.pdark.decentxml
Class TreeIterator
java.lang.Object
de.pdark.decentxml.TreeIterator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int
getPath()
boolean
hasNext()
protected void
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
-
Field Details
-
path
-
stack
-
cursorStack
private int[] cursorStack
-
-
Constructor Details
-
TreeIterator
-
-
Method Details
-
getPath
-
push
-
pop
-
currentNode
-
setCursor
protected void setCursor(int i) -
incCursor
protected void incCursor() -
getCursor
protected int getCursor() -
hasNext
public boolean hasNext() -
next
-
remove
public void remove()
-