com.stimulsoft.report.export.tools.html
Class StiHtmlTextWriter

java.lang.Object
  extended by com.stimulsoft.report.export.tools.html.StiHtmlTextWriter

public class StiHtmlTextWriter
extends java.lang.Object

Html text writer Copyright Stimulsoft


Nested Class Summary
static class StiHtmlTextWriter.WriterMode
          Writer mode
 
Constructor Summary
StiHtmlTextWriter(java.io.BufferedWriter baseStream)
           
 
Method Summary
 void decIndent()
          Decrease indent
 void flush()
          Flush
 int getIndent()
           
 StiHtmlTextWriter.WriterMode getMode()
           
 java.io.BufferedWriter getStream()
           
 void incIndent()
          Increase indent
 void setIndent(int indent)
           
 void setMode(StiHtmlTextWriter.WriterMode mode)
           
 void setStream(java.io.BufferedWriter stream)
           
 void write(java.lang.String st)
          Write string
 void writeAttribute(java.lang.String attr, java.lang.String value)
          Write attribute
 void writeBeginTag(java.lang.String st)
          Write begin tage
 void writeEndTag(java.lang.String st)
          Write end tage
 void writeFullBeginTag(java.lang.String st)
          Write full begin tag
 void writeFullEndTag(java.lang.String st)
          Write ful end tag
 void writeLine()
          Write new line
 void writeLine(java.lang.String st)
          Write string + new line
 void writeStyleAttribute(java.lang.String attr, java.lang.String value)
          Write style attribute
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiHtmlTextWriter

public StiHtmlTextWriter(java.io.BufferedWriter baseStream)
Method Detail

write

public void write(java.lang.String st)
           throws java.io.IOException
Write string

Parameters:
st -
Throws:
java.io.IOException

writeLine

public void writeLine()
               throws java.io.IOException
Write new line

Throws:
java.io.IOException

writeLine

public void writeLine(java.lang.String st)
               throws java.io.IOException
Write string + new line

Parameters:
st -
Throws:
java.io.IOException

writeBeginTag

public void writeBeginTag(java.lang.String st)
                   throws java.io.IOException
Write begin tage

Parameters:
st -
Throws:
java.io.IOException

writeFullBeginTag

public void writeFullBeginTag(java.lang.String st)
                       throws java.io.IOException
Write full begin tag

Parameters:
st -
Throws:
java.io.IOException

writeEndTag

public void writeEndTag(java.lang.String st)
                 throws java.io.IOException
Write end tage

Parameters:
st -
Throws:
java.io.IOException

writeFullEndTag

public void writeFullEndTag(java.lang.String st)
                     throws java.io.IOException
Write ful end tag

Parameters:
st -
Throws:
java.io.IOException

writeAttribute

public void writeAttribute(java.lang.String attr,
                           java.lang.String value)
                    throws java.io.IOException
Write attribute

Parameters:
attr -
value -
Throws:
java.io.IOException

writeStyleAttribute

public void writeStyleAttribute(java.lang.String attr,
                                java.lang.String value)
                         throws java.io.IOException
Write style attribute

Parameters:
attr -
value -
Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Flush

Throws:
java.io.IOException

incIndent

public void incIndent()
Increase indent


decIndent

public void decIndent()
Decrease indent


getMode

public StiHtmlTextWriter.WriterMode getMode()
Returns:
the mode

setMode

public void setMode(StiHtmlTextWriter.WriterMode mode)
Parameters:
mode - the mode to set

getIndent

public int getIndent()
Returns:
the indent

setIndent

public void setIndent(int indent)
Parameters:
indent - the indent to set

getStream

public java.io.BufferedWriter getStream()
Returns:
the stream

setStream

public void setStream(java.io.BufferedWriter stream)
Parameters:
stream - the stream to set