org.stringtemplate.v4.misc
Class STDump
java.lang.Object
org.stringtemplate.v4.misc.STDump
public class STDump
- extends java.lang.Object
This class dumps out a hierarchy of templates in text form, indented
to show the nested relationship. Usage:
ST st = ...;
STDump d = new STDump(st);
System.out.println(d.toString());
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
STDump
public STDump(ST self)
toString
public static java.lang.String toString(ST self)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
toString
protected java.lang.String toString(int n)
getValueDebugString
protected java.lang.String getValueDebugString(java.lang.Object value,
int n)
getTemplateDeclaratorString
protected java.lang.String getTemplateDeclaratorString()
indent
protected void indent(java.lang.StringBuilder buf,
int n)
Copyright © 2011. All Rights Reserved.