|
||||||||||
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.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 |
---|
close, flush, getCharacterEncoding, getContentType, getResponseWriter, startDocument, write, write |
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 DebugResponseWriter(javax.faces.context.ResponseWriter decorated)
Method Detail |
---|
public javax.faces.context.ResponseWriter cloneWithWriter(java.io.Writer writer)
cloneWithWriter
in class ResponseWriterDecorator
public void endDocument() throws java.io.IOException
endDocument
in class ResponseWriterDecorator
java.io.IOException
public void writeComment(java.lang.Object text) 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(char[] text, int start, int length) throws java.io.IOException
write
in class ResponseWriterDecorator
java.io.IOException
public void write(int ch) throws java.io.IOException
write
in class ResponseWriterDecorator
java.io.IOException
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 writeAttribute(java.lang.String name, java.lang.Object value, java.lang.String componentPropertyName) throws java.io.IOException
writeAttribute
in class ResponseWriterDecorator
java.io.IOException
public void writeURIAttribute(java.lang.String name, java.lang.Object value, java.lang.String componentPropertyName) throws java.io.IOException
writeURIAttribute
in class ResponseWriterDecorator
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |