Class TobagoResponseWriterBase
java.lang.Object
java.io.Writer
jakarta.faces.context.ResponseWriter
org.apache.myfaces.tobago.webapp.TobagoResponseWriter
org.apache.myfaces.tobago.internal.webapp.TobagoResponseWriterBase
- All Implemented Interfaces:
- Closeable,- Flushable,- Appendable,- AutoCloseable
- Direct Known Subclasses:
- HtmlResponseWriter,- XmlResponseWriter
- 
Field SummaryFields
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedTobagoResponseWriterBase(Writer writer, String contentType, String characterEncoding) Deprecated, for removal: This API element is subject to removal in a future version.protectedTobagoResponseWriterBase(Writer writer, String contentType, Charset charset, boolean prettyPrint) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()protected abstract voidprotected voidvoidvoidendElement(String name) voidendElement(HtmlElements name) protected voidendElementInternal(Writer sink, String name, boolean inline) protected final Stringvoidflush()protected final Stringprotected Charsetprotected final jakarta.faces.component.UIComponentprotected final Writerprotected voidprotected booleanprotected final booleanprotected final voidsetComponent(jakarta.faces.component.UIComponent component) protected final voidsetStartStillOpen(boolean startStillOpen) voidvoidstartElement(String name, jakarta.faces.component.UIComponent currentComponent) voidstartElement(HtmlElements name) voidstartElement(HtmlElements name, jakarta.faces.component.UIComponent currentComponent) protected voidstartElementInternal(Writer sink, String name, boolean inline) voidwrite(char[] chars) voidwrite(char[] cbuf, int off, int len) voidwrite(int j) voidvoidvoidwriteAttribute(String name, Object value, String property) Deprecated, for removal: This API element is subject to removal in a future version.voidwriteAttribute(MarkupLanguageAttributes name, String value, boolean escape) Writes a string attribute.voidwriteAttribute(MarkupLanguageAttributes name, HtmlTypes types) protected voidwriteAttributeInternal(Writer sink, MarkupLanguageAttributes name, String value, boolean escape) voidwriteComment(Object obj) protected final voidwriteInternal(Writer sink, String string) protected abstract voidwriterAttributeValue(String value, boolean escape) voidwriteURIAttribute(String name, Object value, String property) voidwriteURIAttribute(MarkupLanguageAttributes name, String value) Writes a string attribute URL encoded.Methods inherited from class org.apache.myfaces.tobago.webapp.TobagoResponseWritercloneWithWriter, endCDATA, getContentTypeWithCharSet, startCDATA, writeAttribute, writeAttribute, writeAttribute, writeClassAttribute, writeClassAttribute, writeClassAttribute, writeClassAttribute, writeClassAttribute, writeCommandMapAttribute, writeIdAttribute, writeNameAttribute, writeText, writeTextMethods inherited from class jakarta.faces.context.ResponseWriterwriteDoctype, writePreamble, writeText, writeTextMethods inherited from class java.io.Writerappend, append, append, nullWriter
- 
Field Details- 
XML_VERSION_1_0_ENCODING_UTF_8- See Also:
 
- 
XML_VERSION_1_0_ENCODING_UTF_8_CHARSprotected static final char[] XML_VERSION_1_0_ENCODING_UTF_8_CHARS
 
- 
- 
Constructor Details- 
TobagoResponseWriterBase@Deprecated(since="4.3.0", forRemoval=true) protected TobagoResponseWriterBase(Writer writer, String contentType, String characterEncoding) Deprecated, for removal: This API element is subject to removal in a future version.
- 
TobagoResponseWriterBase
 
- 
- 
Method Details- 
getWriter
- 
getComponentprotected final jakarta.faces.component.UIComponent getComponent()
- 
setComponentprotected final void setComponent(jakarta.faces.component.UIComponent component) 
- 
isStartStillOpenprotected final boolean isStartStillOpen()
- 
setStartStillOpenprotected final void setStartStillOpen(boolean startStillOpen) 
- 
findValue
- 
write- Specified by:
- writein class- Writer
- Throws:
- IOException
 
- 
write- Specified by:
- writein class- TobagoResponseWriter
- Throws:
- IOException
 
- 
writeInternal- Throws:
- IOException
 
- 
write- Overrides:
- writein class- Writer
- Throws:
- IOException
 
- 
write- Overrides:
- writein class- Writer
- Throws:
- IOException
 
- 
write- Overrides:
- writein class- Writer
- Throws:
- IOException
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Specified by:
- closein class- Writer
- Throws:
- IOException
 
- 
flush- Specified by:
- flushin interface- Flushable
- Specified by:
- flushin class- TobagoResponseWriter
- Throws:
- IOException
 
- 
closeOpenTag- Throws:
- IOException
 
- 
handlePassThroughAttributes- Throws:
- IOException
 
- 
startDocument- Specified by:
- startDocumentin class- jakarta.faces.context.ResponseWriter
- Throws:
- IOException
 
- 
endDocument- Specified by:
- endDocumentin class- jakarta.faces.context.ResponseWriter
- Throws:
- IOException
 
- 
getContentType- Specified by:
- getContentTypein class- jakarta.faces.context.ResponseWriter
 
- 
getCharacterEncoding- Specified by:
- getCharacterEncodingin class- jakarta.faces.context.ResponseWriter
 
- 
getCharset
- 
isPrettyPrintprotected boolean isPrettyPrint()
- 
startElementpublic void startElement(String name, jakarta.faces.component.UIComponent currentComponent) throws IOException - Specified by:
- startElementin class- TobagoResponseWriter
- Throws:
- IOException
 
- 
startElementpublic void startElement(HtmlElements name, jakarta.faces.component.UIComponent currentComponent) throws IOException - Specified by:
- startElementin class- TobagoResponseWriter
- Throws:
- IOException
 
- 
startElement- Specified by:
- startElementin class- TobagoResponseWriter
- Throws:
- IOException
 
- 
startElementInternal- Throws:
- IOException
 
- 
endElement- Specified by:
- endElementin class- TobagoResponseWriter
- Throws:
- IOException
 
- 
endElement- Specified by:
- endElementin class- TobagoResponseWriter
- Throws:
- IOException
 
- 
writeComment- Specified by:
- writeCommentin class- TobagoResponseWriter
- Throws:
- IOException
 
- 
writeAttribute@Deprecated(since="3.0.0", forRemoval=true) public void writeAttribute(String name, Object value, String property) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
- writeAttributein class- TobagoResponseWriter
- Throws:
- IOException
 
- 
getCallingClassStackTraceElementString
- 
writeURIAttribute- Specified by:
- writeURIAttributein class- TobagoResponseWriter
- Throws:
- IOException
 
- 
writeAttributepublic 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 class- TobagoResponseWriter
- Throws:
- IOException
 
- 
writeAttribute- Specified by:
- writeAttributein class- TobagoResponseWriter
- Throws:
- IOException
 
- 
writeURIAttributeDescription copied from class:TobagoResponseWriterWrites a string attribute URL encoded.- Specified by:
- writeURIAttributein class- TobagoResponseWriter
- Throws:
- IOException
 
- 
endElementInternal- Throws:
- IOException
 
- 
closeEmptyTag- Throws:
- IOException
 
- 
writeAttributeInternalprotected void writeAttributeInternal(Writer sink, MarkupLanguageAttributes name, String value, boolean escape) throws IOException - Throws:
- IOException
 
- 
writerAttributeValue- Throws:
- IOException
 
 
-