public class StiHtmlTextWriter
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StiHtmlTextWriter.WriterMode
Writer mode
|
| Constructor and Description |
|---|
StiHtmlTextWriter(java.io.BufferedWriter baseStream) |
| Modifier and Type | Method and Description |
|---|---|
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
|
public void write(java.lang.String st)
throws java.io.IOException
st - java.io.IOExceptionpublic void writeLine()
throws java.io.IOException
java.io.IOExceptionpublic void writeLine(java.lang.String st)
throws java.io.IOException
st - java.io.IOExceptionpublic void writeBeginTag(java.lang.String st)
throws java.io.IOException
st - java.io.IOExceptionpublic void writeFullBeginTag(java.lang.String st)
throws java.io.IOException
st - java.io.IOExceptionpublic void writeEndTag(java.lang.String st)
throws java.io.IOException
st - java.io.IOExceptionpublic void writeFullEndTag(java.lang.String st)
throws java.io.IOException
st - java.io.IOExceptionpublic void writeAttribute(java.lang.String attr,
java.lang.String value)
throws java.io.IOException
attr - value - java.io.IOExceptionpublic void writeStyleAttribute(java.lang.String attr,
java.lang.String value)
throws java.io.IOException
attr - value - java.io.IOExceptionpublic void flush()
throws java.io.IOException
java.io.IOExceptionpublic void incIndent()
public void decIndent()
public StiHtmlTextWriter.WriterMode getMode()
public void setMode(StiHtmlTextWriter.WriterMode mode)
mode - the mode to setpublic int getIndent()
public void setIndent(int indent)
indent - the indent to setpublic java.io.BufferedWriter getStream()
public void setStream(java.io.BufferedWriter stream)
stream - the stream to setCopyright © 2019 Stimulsoft. All Rights Reserved.