Class DebugResponseWriterWrapper
- java.lang.Object
-
- java.io.Writer
-
- jakarta.faces.context.ResponseWriter
-
- org.apache.myfaces.tobago.webapp.TobagoResponseWriter
-
- org.apache.myfaces.tobago.internal.webapp.DebugResponseWriterWrapper
-
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
public class DebugResponseWriterWrapper extends TobagoResponseWriter
-
-
Constructor Summary
Constructors Constructor Description DebugResponseWriterWrapper(TobagoResponseWriter responseWriter)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description jakarta.faces.context.ResponseWritercloneWithWriter(Writer writer)voidclose()voidendDocument()voidendElement(String name)voidendElement(HtmlElements name)voidflush()StringgetCharacterEncoding()StringgetContentType()voidstartDocument()voidstartElement(String name, jakarta.faces.component.UIComponent currentComponent)voidstartElement(HtmlElements name)voidstartElement(HtmlElements name, jakarta.faces.component.UIComponent component)voidwrite(char[] chars, int i, int i1)voidwrite(String string)voidwriteAttribute(String name, Object value, String property)Deprecated.since 1.0.11voidwriteAttribute(MarkupLanguageAttributes name, String value, boolean escape)Writes a string attribute.voidwriteAttribute(MarkupLanguageAttributes name, HtmlTypes types)voidwriteComment(Object comment)voidwriteText(char[] text, int off, int len)voidwriteText(Object text, String property)Deprecated.since 1.0.11voidwriteURIAttribute(String name, Object value, String property)voidwriteURIAttribute(MarkupLanguageAttributes name, String string)Writes a string attribute URL encoded.-
Methods inherited from class org.apache.myfaces.tobago.webapp.TobagoResponseWriter
endCDATA, getContentTypeWithCharSet, startCDATA, writeAttribute, writeAttribute, writeClassAttribute, writeClassAttribute, writeClassAttribute, writeClassAttribute, writeClassAttribute, writeCommandMapAttribute, writeIdAttribute, writeNameAttribute, writeText
-
-
-
-
Constructor Detail
-
DebugResponseWriterWrapper
public DebugResponseWriterWrapper(TobagoResponseWriter responseWriter)
-
-
Method Detail
-
write
public void write(String string) throws IOException
- Specified by:
writein classTobagoResponseWriter- Throws:
IOException
-
writeComment
public void writeComment(Object comment) throws IOException
- Specified by:
writeCommentin classTobagoResponseWriter- Throws:
IOException
-
cloneWithWriter
public jakarta.faces.context.ResponseWriter cloneWithWriter(Writer writer)
- Specified by:
cloneWithWriterin classTobagoResponseWriter
-
writeAttribute
@Deprecated public void writeAttribute(String name, Object value, String property) throws IOException
Deprecated.since 1.0.11- Specified by:
writeAttributein classTobagoResponseWriter- Throws:
IOException
-
writeText
@Deprecated public void writeText(Object text, String property) throws IOException
Deprecated.since 1.0.11- Specified by:
writeTextin classTobagoResponseWriter- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Specified by:
flushin classTobagoResponseWriter- Throws:
IOException
-
writeAttribute
public void writeAttribute(MarkupLanguageAttributes name, String value, boolean escape) throws IOException
Description copied from class:TobagoResponseWriterWrites a string attribute. The renderer may set escape=false to switch of escaping of the string, if it is not necessary.- Specified by:
writeAttributein classTobagoResponseWriter- Throws:
IOException
-
writeAttribute
public void writeAttribute(MarkupLanguageAttributes name, HtmlTypes types) throws IOException
- Specified by:
writeAttributein classTobagoResponseWriter- Throws:
IOException
-
writeURIAttribute
public void writeURIAttribute(MarkupLanguageAttributes name, String string) throws IOException
Description copied from class:TobagoResponseWriterWrites a string attribute URL encoded.- Specified by:
writeURIAttributein classTobagoResponseWriter- Throws:
IOException
-
getContentType
public String getContentType()
- Specified by:
getContentTypein classjakarta.faces.context.ResponseWriter
-
getCharacterEncoding
public String getCharacterEncoding()
- Specified by:
getCharacterEncodingin classjakarta.faces.context.ResponseWriter
-
startDocument
public void startDocument() throws IOException- Specified by:
startDocumentin classjakarta.faces.context.ResponseWriter- Throws:
IOException
-
endDocument
public void endDocument() throws IOException- Specified by:
endDocumentin classjakarta.faces.context.ResponseWriter- Throws:
IOException
-
writeURIAttribute
public void writeURIAttribute(String name, Object value, String property) throws IOException
- Specified by:
writeURIAttributein classTobagoResponseWriter- Throws:
IOException
-
writeText
public void writeText(char[] text, int off, int len) throws IOException- Specified by:
writeTextin classjakarta.faces.context.ResponseWriter- Throws:
IOException
-
write
public void write(char[] chars, int i, int i1) throws IOException- Specified by:
writein classWriter- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-
startElement
public void startElement(String name, jakarta.faces.component.UIComponent currentComponent) throws IOException
- Specified by:
startElementin classTobagoResponseWriter- Throws:
IOException
-
startElement
public void startElement(HtmlElements name, jakarta.faces.component.UIComponent component) throws IOException
- Specified by:
startElementin classTobagoResponseWriter- Throws:
IOException
-
startElement
public void startElement(HtmlElements name) throws IOException
- Specified by:
startElementin classTobagoResponseWriter- Throws:
IOException
-
endElement
public void endElement(String name) throws IOException
- Specified by:
endElementin classTobagoResponseWriter- Throws:
IOException
-
endElement
public void endElement(HtmlElements name) throws IOException
- Specified by:
endElementin classTobagoResponseWriter- Throws:
IOException
-
-