|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.Writer
javax.faces.context.ResponseWriter
org.apache.myfaces.trinidadinternal.io.ResponseWriterDecorator
org.apache.myfaces.trinidadinternal.io.IndentingResponseWriter
public class IndentingResponseWriter
Output method that decorates another to pretty-print HTML.
Field Summary |
---|
Fields inherited from class java.io.Writer |
---|
lock |
Constructor Summary | |
---|---|
IndentingResponseWriter(javax.faces.context.ResponseWriter decorated)
|
|
IndentingResponseWriter(javax.faces.context.ResponseWriter decorated,
int spacesPerLevel)
|
Method Summary | |
---|---|
javax.faces.context.ResponseWriter |
cloneWithWriter(java.io.Writer writer)
Creates a new instance of this DebugResponseWriter, using a different Writer. |
void |
endElement(java.lang.String name)
|
void |
startElement(java.lang.String name,
javax.faces.component.UIComponent component)
|
void |
write(char[] text)
Writes a character array, without performing any escaping. |
void |
write(char[] text,
int start,
int length)
Writes a character array, without performing any escaping. |
void |
write(int c)
Writes a character, without performing any escaping. |
void |
write(java.lang.String text)
Writes a string, without performing any escaping. |
void |
write(java.lang.String str,
int off,
int len)
|
void |
writeComment(java.lang.Object comment)
Writes a comment. |
void |
writeText(char[] text,
int start,
int length)
Writes a character array, escaped properly for this method. |
void |
writeText(java.lang.Object text,
java.lang.String componentPropertyName)
Writes a String, escaped properly for this method. |
Methods inherited from class org.apache.myfaces.trinidadinternal.io.ResponseWriterDecorator |
---|
close, endDocument, flush, getCharacterEncoding, getContentType, getResponseWriter, startDocument, writeAttribute, writeURIAttribute |
Methods inherited from class java.io.Writer |
---|
append, append, append |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndentingResponseWriter(javax.faces.context.ResponseWriter decorated)
public IndentingResponseWriter(javax.faces.context.ResponseWriter decorated, int spacesPerLevel)
Method Detail |
---|
public javax.faces.context.ResponseWriter cloneWithWriter(java.io.Writer writer)
cloneWithWriter
in class ResponseWriterDecorator
public void startElement(java.lang.String name, javax.faces.component.UIComponent component) throws java.io.IOException
startElement
in class ResponseWriterDecorator
java.io.IOException
public void endElement(java.lang.String name) throws java.io.IOException
endElement
in class ResponseWriterDecorator
java.io.IOException
public void writeComment(java.lang.Object comment) throws java.io.IOException
writeComment
in class ResponseWriterDecorator
java.io.IOException
public void writeText(java.lang.Object text, java.lang.String componentPropertyName) throws java.io.IOException
writeText
in class ResponseWriterDecorator
java.io.IOException
public void writeText(char[] text, int start, int length) throws java.io.IOException
writeText
in class ResponseWriterDecorator
java.io.IOException
public void write(java.lang.String text) throws java.io.IOException
write
in class ResponseWriterDecorator
java.io.IOException
public void write(java.lang.String str, int off, int len) throws java.io.IOException
write
in class ResponseWriterDecorator
java.io.IOException
public void write(char[] text, int start, int length) throws java.io.IOException
write
in class ResponseWriterDecorator
java.io.IOException
public void write(char[] text) throws java.io.IOException
write
in class ResponseWriterDecorator
java.io.IOException
public void write(int c) throws java.io.IOException
write
in class ResponseWriterDecorator
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |