|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.serialize.Printer
public class Printer
The printer is responsible for sending text to the output stream
or writer. This class performs direct writing for efficiency.
IndentPrinter
supports indentation and line wrapping by
extending this class.
Constructor Summary | |
---|---|
Printer(java.io.Writer writer,
OutputFormat format)
Deprecated. |
Method Summary | |
---|---|
void |
breakLine()
Deprecated. |
void |
breakLine(boolean preserveSpace)
Deprecated. |
void |
enterDTD()
Deprecated. Called by any of the DTD handlers to enter DTD mode. |
void |
flush()
Deprecated. Flush the output stream. |
void |
flushLine(boolean preserveSpace)
Deprecated. |
java.io.IOException |
getException()
Deprecated. |
int |
getNextIndent()
Deprecated. |
void |
indent()
Deprecated. |
java.lang.String |
leaveDTD()
Deprecated. Called by the root element to leave DTD mode and if any DTD parts were printer, will return a string with their textual content. |
void |
printSpace()
Deprecated. |
void |
printText(char ch)
Deprecated. |
void |
printText(char[] chars,
int start,
int length)
Deprecated. |
void |
printText(java.lang.String text)
Deprecated. |
void |
printText(java.lang.StringBuffer text)
Deprecated. |
void |
setNextIndent(int indent)
Deprecated. |
void |
setThisIndent(int indent)
Deprecated. |
void |
unindent()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Printer(java.io.Writer writer, OutputFormat format)
Method Detail |
---|
public java.io.IOException getException()
public void enterDTD() throws java.io.IOException
leaveDTD()
.
java.io.IOException
public java.lang.String leaveDTD() throws java.io.IOException
java.io.IOException
public void printText(java.lang.String text) throws java.io.IOException
java.io.IOException
public void printText(java.lang.StringBuffer text) throws java.io.IOException
java.io.IOException
public void printText(char[] chars, int start, int length) throws java.io.IOException
java.io.IOException
public void printText(char ch) throws java.io.IOException
java.io.IOException
public void printSpace() throws java.io.IOException
java.io.IOException
public void breakLine() throws java.io.IOException
java.io.IOException
public void breakLine(boolean preserveSpace) throws java.io.IOException
java.io.IOException
public void flushLine(boolean preserveSpace) throws java.io.IOException
java.io.IOException
public void flush() throws java.io.IOException
java.io.IOException
public void indent()
public void unindent()
public int getNextIndent()
public void setNextIndent(int indent)
public void setThisIndent(int indent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |