|
||||||||||
| 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
javax.faces.context.ResponseWriterWrapper
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. |
void |
writeText(java.lang.Object text,
javax.faces.component.UIComponent component,
java.lang.String componentPropertyName)
Writes a String, escaped properly for this method. |
| Methods inherited from class org.apache.myfaces.trinidadinternal.io.ResponseWriterDecorator |
|---|
getResponseWriter, getWrapped, toString |
| Methods inherited from class javax.faces.context.ResponseWriterWrapper |
|---|
close, endCDATA, endDocument, flush, getCharacterEncoding, getContentType, startCDATA, 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, 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 javax.faces.context.ResponseWriterWrapper
public void startElement(java.lang.String name,
javax.faces.component.UIComponent component)
throws java.io.IOException
startElement in class javax.faces.context.ResponseWriterWrapperjava.io.IOException
public void endElement(java.lang.String name)
throws java.io.IOException
endElement in class javax.faces.context.ResponseWriterWrapperjava.io.IOException
public void writeComment(java.lang.Object comment)
throws java.io.IOException
writeComment in class javax.faces.context.ResponseWriterWrapperjava.io.IOException
public void writeText(java.lang.Object text,
javax.faces.component.UIComponent component,
java.lang.String componentPropertyName)
throws java.io.IOException
writeText in class javax.faces.context.ResponseWriterWrapperjava.io.IOException
public void writeText(java.lang.Object text,
java.lang.String componentPropertyName)
throws java.io.IOException
writeText in class javax.faces.context.ResponseWriterWrapperjava.io.IOException
public void writeText(char[] text,
int start,
int length)
throws java.io.IOException
writeText in class javax.faces.context.ResponseWriterWrapperjava.io.IOException
public void write(java.lang.String text)
throws java.io.IOException
write in class java.io.Writerjava.io.IOException
public void write(java.lang.String str,
int off,
int len)
throws java.io.IOException
write in class java.io.Writerjava.io.IOException
public void write(char[] text,
int start,
int length)
throws java.io.IOException
write in class javax.faces.context.ResponseWriterWrapperjava.io.IOException
public void write(char[] text)
throws java.io.IOException
write in class java.io.Writerjava.io.IOException
public void write(int c)
throws java.io.IOException
write in class java.io.Writerjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||