Class TobagoResponseWriterWrapper
- java.lang.Object
-
- java.io.Writer
-
- javax.faces.context.ResponseWriter
-
- org.apache.myfaces.tobago.webapp.TobagoResponseWriter
-
- org.apache.myfaces.tobago.internal.webapp.TobagoResponseWriterWrapper
-
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
public class TobagoResponseWriterWrapper extends TobagoResponseWriter
-
-
Constructor Summary
Constructors Constructor Description TobagoResponseWriterWrapper(javax.faces.context.ResponseWriter responseWriter)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description javax.faces.context.ResponseWriter
cloneWithWriter(Writer writer)
void
close()
void
endDocument()
void
endElement(String name)
void
endElement(HtmlElements name)
void
flush()
String
getCharacterEncoding()
String
getContentType()
void
startDocument()
void
startElement(String name, javax.faces.component.UIComponent component)
void
startElement(HtmlElements name)
void
startElement(HtmlElements name, javax.faces.component.UIComponent component)
void
write(char[] chars, int i, int i1)
void
write(String string)
void
writeAttribute(String name, Object value, String property)
Deprecated.since 1.0.11void
writeAttribute(MarkupLanguageAttributes name, String value, boolean escape)
Writes a string attribute.void
writeAttribute(MarkupLanguageAttributes name, HtmlTypes types)
void
writeComment(Object comment)
void
writeText(char[] text, int off, int len)
void
writeText(Object text, String property)
Deprecated.since 1.0.11void
writeURIAttribute(String name, Object value, String property)
void
writeURIAttribute(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
-
-
-
-
Method Detail
-
startElement
public void startElement(String name, javax.faces.component.UIComponent component) throws IOException
- Specified by:
startElement
in classTobagoResponseWriter
- Throws:
IOException
-
startElement
public void startElement(HtmlElements name, javax.faces.component.UIComponent component) throws IOException
- Specified by:
startElement
in classTobagoResponseWriter
- Throws:
IOException
-
startElement
public void startElement(HtmlElements name) throws IOException
- Specified by:
startElement
in classTobagoResponseWriter
- Throws:
IOException
-
endElement
public void endElement(String name) throws IOException
- Specified by:
endElement
in classTobagoResponseWriter
- Throws:
IOException
-
endElement
public void endElement(HtmlElements name) throws IOException
- Specified by:
endElement
in classTobagoResponseWriter
- Throws:
IOException
-
write
public void write(String string) throws IOException
- Specified by:
write
in classTobagoResponseWriter
- Throws:
IOException
-
writeComment
public void writeComment(Object comment) throws IOException
- Specified by:
writeComment
in classTobagoResponseWriter
- Throws:
IOException
-
cloneWithWriter
public javax.faces.context.ResponseWriter cloneWithWriter(Writer writer)
- Specified by:
cloneWithWriter
in classTobagoResponseWriter
-
writeAttribute
@Deprecated public void writeAttribute(String name, Object value, String property) throws IOException
Deprecated.since 1.0.11- Specified by:
writeAttribute
in classTobagoResponseWriter
- Throws:
IOException
-
writeText
@Deprecated public void writeText(Object text, String property) throws IOException
Deprecated.since 1.0.11- Specified by:
writeText
in classTobagoResponseWriter
- Throws:
IOException
-
flush
public void flush() throws IOException
- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classTobagoResponseWriter
- Throws:
IOException
-
writeAttribute
public void writeAttribute(MarkupLanguageAttributes name, String value, boolean escape) throws IOException
Description copied from class:TobagoResponseWriter
Writes a string attribute. The renderer may set escape=false to switch of escaping of the string, if it is not necessary.- Specified by:
writeAttribute
in classTobagoResponseWriter
- Throws:
IOException
-
writeAttribute
public void writeAttribute(MarkupLanguageAttributes name, HtmlTypes types) throws IOException
- Specified by:
writeAttribute
in classTobagoResponseWriter
- Throws:
IOException
-
getContentType
public String getContentType()
- Specified by:
getContentType
in classjavax.faces.context.ResponseWriter
-
getCharacterEncoding
public String getCharacterEncoding()
- Specified by:
getCharacterEncoding
in classjavax.faces.context.ResponseWriter
-
startDocument
public void startDocument() throws IOException
- Specified by:
startDocument
in classjavax.faces.context.ResponseWriter
- Throws:
IOException
-
endDocument
public void endDocument() throws IOException
- Specified by:
endDocument
in classjavax.faces.context.ResponseWriter
- Throws:
IOException
-
writeURIAttribute
public void writeURIAttribute(String name, Object value, String property) throws IOException
- Specified by:
writeURIAttribute
in classTobagoResponseWriter
- Throws:
IOException
-
writeURIAttribute
public void writeURIAttribute(MarkupLanguageAttributes name, String string) throws IOException
Description copied from class:TobagoResponseWriter
Writes a string attribute URL encoded.- Specified by:
writeURIAttribute
in classTobagoResponseWriter
- Throws:
IOException
-
writeText
public void writeText(char[] text, int off, int len) throws IOException
- Specified by:
writeText
in classjavax.faces.context.ResponseWriter
- Throws:
IOException
-
write
public void write(char[] chars, int i, int i1) throws IOException
- Specified by:
write
in classWriter
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-
-