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
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionTobagoResponseWriterWrapper(javax.faces.context.ResponseWriter responseWriter)
-
Method Summary
Modifier and TypeMethodDescriptionjavax.faces.context.ResponseWriter
cloneWithWriter(Writer writer)
void
close()
void
void
endElement(String name)
void
endElement(HtmlElements name)
void
flush()
void
void
startElement(String name, javax.faces.component.UIComponent component)
void
startElement(HtmlElements name)
void
write(char[] chars, int i, int i1)
void
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
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
Methods inherited from class javax.faces.context.ResponseWriter
writeDoctype, writePreamble, writeText
-
Constructor Details
-
TobagoResponseWriterWrapper
public TobagoResponseWriterWrapper(javax.faces.context.ResponseWriter responseWriter)
-
-
Method Details
-
startElement
public void startElement(String name, javax.faces.component.UIComponent component) throws IOException- Specified by:
startElement
in classTobagoResponseWriter
- Throws:
IOException
-
startElement
- Specified by:
startElement
in classTobagoResponseWriter
- Throws:
IOException
-
endElement
- Specified by:
endElement
in classTobagoResponseWriter
- Throws:
IOException
-
endElement
- Specified by:
endElement
in classTobagoResponseWriter
- Throws:
IOException
-
write
- Specified by:
write
in classTobagoResponseWriter
- Throws:
IOException
-
writeComment
- Specified by:
writeComment
in classTobagoResponseWriter
- Throws:
IOException
-
cloneWithWriter
- Specified by:
cloneWithWriter
in classTobagoResponseWriter
-
writeAttribute
@Deprecated public void writeAttribute(String name, Object value, String property) throws IOExceptionDeprecated.since 1.0.11- Specified by:
writeAttribute
in classTobagoResponseWriter
- Throws:
IOException
-
writeText
Deprecated.since 1.0.11- Specified by:
writeText
in classTobagoResponseWriter
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classTobagoResponseWriter
- Throws:
IOException
-
writeAttribute
public void writeAttribute(MarkupLanguageAttributes name, String value, boolean escape) throws IOExceptionDescription 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
- Specified by:
writeAttribute
in classTobagoResponseWriter
- Throws:
IOException
-
getContentType
- Specified by:
getContentType
in classjavax.faces.context.ResponseWriter
-
getCharacterEncoding
- Specified by:
getCharacterEncoding
in classjavax.faces.context.ResponseWriter
-
startDocument
- Specified by:
startDocument
in classjavax.faces.context.ResponseWriter
- Throws:
IOException
-
endDocument
- Specified by:
endDocument
in classjavax.faces.context.ResponseWriter
- Throws:
IOException
-
writeURIAttribute
- Specified by:
writeURIAttribute
in classTobagoResponseWriter
- Throws:
IOException
-
writeURIAttribute
Description copied from class:TobagoResponseWriter
Writes a string attribute URL encoded.- Specified by:
writeURIAttribute
in classTobagoResponseWriter
- Throws:
IOException
-
writeText
- Specified by:
writeText
in classjavax.faces.context.ResponseWriter
- Throws:
IOException
-
write
- Specified by:
write
in classWriter
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-