|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jess.xml.Indenter
A utility class that lets you easily compose formatted code.
(C) 2006 Sandia National Laboratories
Constructor Summary | |
Indenter()
|
Method Summary | |
Indenter |
append(java.lang.Object o)
Call toString on the argument, call append(String). |
Indenter |
append(java.lang.String s)
Examine each character of the String, which may include multiple lines. |
Indenter |
appendln(java.lang.Object o)
Call toString on the argument, call append(String), then append("\n"); |
Indenter |
appendlnNoindent(java.lang.Object o)
Call toString on the argument, call appendNoindent(String), then append("\n"); |
Indenter |
appendNoindent(java.lang.Object o)
Call toString on the argument, call appendNoindent(String). |
Indenter |
appendNoindent(java.lang.String s)
Append the given string to the buffer with no translation at all. |
void |
clear()
Erase the contents of this Indenter |
Indenter |
indent()
Increase the indentation level by one. |
java.lang.String |
toString()
Fetch the formatted contents. |
Indenter |
unindent()
Decrease the indentation level by one. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Indenter()
Method Detail |
public void clear()
public Indenter indent()
public Indenter unindent()
public Indenter appendln(java.lang.Object o)
public Indenter appendlnNoindent(java.lang.Object o)
public Indenter append(java.lang.Object o)
public Indenter appendNoindent(java.lang.Object o)
public Indenter append(java.lang.String s)
public Indenter appendNoindent(java.lang.String s)
public java.lang.String toString()
|
© 2007 Sandia Corporation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |