|
Devsphere.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.devsphere.xml.taglib.support.builder.Outputter
Class used for indented output.
Field Summary | |
static java.lang.String |
INDENT_STRING
|
Constructor Summary | |
Outputter(java.io.PrintWriter writer)
Initializes this object setting the indent level to 0 . |
Method Summary | |
void |
close()
Closes the writer |
void |
decLevel()
Decrements the indent level. |
int |
getLevel()
Gets the indent level. |
void |
incLevel()
Increments the indent level. |
void |
println()
Prints a blank line. |
void |
println(java.lang.String line)
Outputs the given string |
void |
setLevel(int indentLevel)
Sets the indent level. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String INDENT_STRING
Constructor Detail |
public Outputter(java.io.PrintWriter writer)
0
.
writer
- the java.io.PrintWriter
used for outputMethod Detail |
public void setLevel(int indentLevel)
indentLevel
- the new indent level.public int getLevel()
public void incLevel()
public void decLevel()
public void println()
public void println(java.lang.String line)
line
- the string that must be printedpublic void close()
|
Devsphere.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |