|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.io.WrappingOutputMethod | +--oracle.cabo.ui.io.PrettyPrinter
Output method that wraps another to pretty-print it.
Constructor Summary | |
PrettyPrinter(OutputMethod wrapped)
|
|
PrettyPrinter(OutputMethod wrapped,
int spacesPerLevel)
|
Method Summary | |
OutputMethod |
cloneWithPrintWriter(java.io.PrintWriter writer)
Creates a new instance of this DebugOutputMethod, using a different PrintWriter. |
void |
endElement(java.lang.String name)
Outputs an end element tag. |
void |
startElement(java.lang.String name)
Outputs a start element tag. |
void |
writeComment(java.lang.String text)
Writes a comment. |
void |
writeRawText(char text)
Writes a character, without performing any escaping. |
void |
writeRawText(char[] text,
int start,
int length)
Writes a character array, without performing any escaping. |
void |
writeRawText(java.lang.String text)
Writes a string, without performing any escaping. |
void |
writeText(char text)
Writes a character, escaped properly for this method. |
void |
writeText(char[] text,
int start,
int length)
Writes a character array, escaped properly for this method. |
void |
writeText(java.lang.Object text)
Writes an Object, escaped properly for this method. |
void |
writeText(java.lang.String text)
Writes a String, escaped properly for this method. |
Methods inherited from class oracle.cabo.ui.io.WrappingOutputMethod |
cloneWrappedOutputMethod, endDocument, flush, getContentType, startDocument, supportsCloneWithPrintWriter, writeAttribute, writeAttribute, writeURIAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PrettyPrinter(OutputMethod wrapped)
public PrettyPrinter(OutputMethod wrapped, int spacesPerLevel)
Method Detail |
public OutputMethod cloneWithPrintWriter(java.io.PrintWriter writer)
cloneWithPrintWriter
in class WrappingOutputMethod
public void startElement(java.lang.String name) throws java.io.IOException
OutputMethod
writeAttribute()
.startElement
in class WrappingOutputMethod
public void endElement(java.lang.String name) throws java.io.IOException
OutputMethod
endElement
in class WrappingOutputMethod
public void writeComment(java.lang.String text) throws java.io.IOException
writeComment
in class WrappingOutputMethod
public void writeText(java.lang.String text) throws java.io.IOException
writeText
in class WrappingOutputMethod
public void writeText(java.lang.Object text) throws java.io.IOException
writeText
in class WrappingOutputMethod
public void writeText(char[] text, int start, int length) throws java.io.IOException
writeText
in class WrappingOutputMethod
public void writeText(char text) throws java.io.IOException
writeText
in class WrappingOutputMethod
public void writeRawText(java.lang.String text) throws java.io.IOException
writeRawText
in class WrappingOutputMethod
public void writeRawText(char[] text, int start, int length) throws java.io.IOException
writeRawText
in class WrappingOutputMethod
public void writeRawText(char text) throws java.io.IOException
writeRawText
in class WrappingOutputMethod
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |