com.vladium.emma.report.xml
Class ReportGenerator.IndentingWriter
java.lang.Object
java.io.Writer
java.io.BufferedWriter
com.vladium.emma.report.xml.ReportGenerator.IndentingWriter
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, java.lang.Appendable
- Enclosing class:
- ReportGenerator
private static final class ReportGenerator.IndentingWriter
- extends java.io.BufferedWriter
Fields inherited from class java.io.Writer |
lock |
Method Summary |
(package private) void |
decIndent()
|
(package private) void |
decIndent(int delta)
|
(package private) java.lang.String |
getIndent()
|
(package private) void |
incIndent()
|
(package private) void |
incIndent(int delta)
|
private void |
indent()
|
void |
newLine()
|
void |
write(char[] cbuf,
int off,
int len)
|
void |
write(int c)
|
void |
write(java.lang.String s,
int off,
int len)
|
Methods inherited from class java.io.BufferedWriter |
close, flush |
Methods inherited from class java.io.Writer |
append, append, append, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_indent
private int m_indent
m_state
private int m_state
m_sindent
private transient java.lang.String m_sindent
INDENT_INCREMENT
private static final int INDENT_INCREMENT
- See Also:
- Constant Field Values
ReportGenerator.IndentingWriter
ReportGenerator.IndentingWriter(java.io.Writer out,
int buffer,
int indent)
newLine
public void newLine()
throws java.io.IOException
- Overrides:
newLine
in class java.io.BufferedWriter
- Throws:
java.io.IOException
write
public void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
- Overrides:
write
in class java.io.BufferedWriter
- Throws:
java.io.IOException
write
public void write(int c)
throws java.io.IOException
- Overrides:
write
in class java.io.BufferedWriter
- Throws:
java.io.IOException
write
public void write(java.lang.String s,
int off,
int len)
throws java.io.IOException
- Overrides:
write
in class java.io.BufferedWriter
- Throws:
java.io.IOException
incIndent
void incIndent(int delta)
incIndent
void incIndent()
decIndent
void decIndent(int delta)
decIndent
void decIndent()
getIndent
java.lang.String getIndent()
indent
private void indent()
throws java.io.IOException
- Throws:
java.io.IOException