|
||||||||||
| 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.DebugResponseWriter
public class DebugResponseWriter
ResponseWriter that decorates another and checks for common mistakes, like unbalanced elements.
| Field Summary |
|---|
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
DebugResponseWriter(javax.faces.context.ResponseWriter decorated)
Creates a DebugResponseWriter. |
|
| Method Summary | |
|---|---|
javax.faces.context.ResponseWriter |
cloneWithWriter(java.io.Writer writer)
Creates a new instance of this DebugResponseWriter, using a different Writer. |
void |
endDocument()
|
void |
endElement(java.lang.String name)
|
void |
startElement(java.lang.String name,
javax.faces.component.UIComponent component)
|
void |
write(char[] text,
int start,
int length)
Writes a character array, without performing any escaping. |
void |
write(int ch)
Writes a character, without performing any escaping. |
void |
write(java.lang.String text)
Writes a string, without performing any escaping. |
void |
writeAttribute(java.lang.String name,
java.lang.Object value,
java.lang.String componentPropertyName)
|
void |
writeComment(java.lang.Object text)
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 |
writeURIAttribute(java.lang.String name,
java.lang.Object value,
java.lang.String componentPropertyName)
|
| Methods inherited from class org.apache.myfaces.trinidadinternal.io.ResponseWriterDecorator |
|---|
getResponseWriter, getWrapped, toString |
| Methods inherited from class javax.faces.context.ResponseWriterWrapper |
|---|
close, endCDATA, flush, getCharacterEncoding, getContentType, startCDATA, startDocument, writeText |
| Methods inherited from class java.io.Writer |
|---|
append, append, append, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DebugResponseWriter(javax.faces.context.ResponseWriter decorated)
| Method Detail |
|---|
public javax.faces.context.ResponseWriter cloneWithWriter(java.io.Writer writer)
cloneWithWriter in class javax.faces.context.ResponseWriterWrapper
public void endDocument()
throws java.io.IOException
endDocument in class javax.faces.context.ResponseWriterWrapperjava.io.IOException
public void writeComment(java.lang.Object text)
throws java.io.IOException
writeComment 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(char[] text,
int start,
int length)
throws java.io.IOException
write in class javax.faces.context.ResponseWriterWrapperjava.io.IOException
public void write(int ch)
throws java.io.IOException
write in class java.io.Writerjava.io.IOException
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 writeAttribute(java.lang.String name,
java.lang.Object value,
java.lang.String componentPropertyName)
throws java.io.IOException
writeAttribute in class javax.faces.context.ResponseWriterWrapperjava.io.IOException
public void writeURIAttribute(java.lang.String name,
java.lang.Object value,
java.lang.String componentPropertyName)
throws java.io.IOException
writeURIAttribute in class javax.faces.context.ResponseWriterWrapperjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||