com.vladium.emma.report.xml
Class ReportGenerator.IndentingWriter

java.lang.Object
  extended byjava.io.Writer
      extended byjava.io.BufferedWriter
          extended bycom.vladium.emma.report.xml.ReportGenerator.IndentingWriter
Enclosing class:
ReportGenerator

private static final class ReportGenerator.IndentingWriter
extends java.io.BufferedWriter


Field Summary
private static int INDENT_INCREMENT
           
private  int m_indent
           
private  java.lang.String m_sindent
           
private  int m_state
           
 
Fields inherited from class java.io.BufferedWriter
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
(package private) ReportGenerator.IndentingWriter(java.io.Writer out, int buffer, int indent)
           
 
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
write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ReportGenerator.IndentingWriter

ReportGenerator.IndentingWriter(java.io.Writer out,
                                int buffer,
                                int indent)
Method Detail

newLine

public void newLine()
             throws java.io.IOException
Throws:
java.io.IOException

write

public void write(char[] cbuf,
                  int off,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(int c)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(java.lang.String s,
                  int off,
                  int len)
           throws java.io.IOException
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