de.pdark.decentxml
Class TreeIterator
java.lang.Object
de.pdark.decentxml.TreeIterator
- All Implemented Interfaces:
- java.util.Iterator<Node>
public class TreeIterator
- extends java.lang.Object
- implements java.util.Iterator<Node>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeIterator
public TreeIterator(NodeWithChildren start)
getPath
public java.lang.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()
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator<Node>
next
public Node next()
- Specified by:
next
in interface java.util.Iterator<Node>
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator<Node>
Copyright © 2008-2011. All Rights Reserved.