|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.util.tree.ToStringVisitor
public class ToStringVisitor
Provides a visitor which traverses a tree to accumulate the tree node strings.
Constructor Summary | |
---|---|
ToStringVisitor()
Construct this object. |
Method Summary | |
---|---|
String |
getString()
Return the accumulated tree node strings. |
void |
reset()
Reset the string buffer. |
void |
visit(ITreeNode treeNode)
Visit the given tree node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ToStringVisitor()
Method Detail |
---|
public String getString()
public void reset()
public void visit(ITreeNode treeNode)
visit
in interface IVisitor
treeNode
- Tree node.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |