Package org.apache.myfaces.tobago.webapp
Klasse TobagoResponseWriter
java.lang.Object
java.io.Writer
jakarta.faces.context.ResponseWriter
org.apache.myfaces.tobago.webapp.TobagoResponseWriter
- Alle implementierten Schnittstellen:
Closeable,Flushable,Appendable,AutoCloseable
- Bekannte direkte Unterklassen:
DebugResponseWriterWrapper,TobagoResponseWriterBase,TobagoResponseWriterWrapper
public abstract class TobagoResponseWriter
extends jakarta.faces.context.ResponseWriter
This provides an alternative ResponseWriter interfaces, which allows optimizations. E. g. some attributes needed to to be escaped.
-
Feldübersicht
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract jakarta.faces.context.ResponseWritercloneWithWriter(Writer writer) voidendCDATA()abstract voidendElement(String name) Veraltet.Should not directly called via this interface.abstract voidendElement(HtmlElements name) abstract voidflush()voidabstract voidstartElement(String name, jakarta.faces.component.UIComponent component) Veraltet.Should not directly called via this interface.abstract voidstartElement(HtmlElements name) abstract voidabstract voidwriteAttribute(String name, Object value, String property) Veraltet.since 1.0.11, should not directly called via this interface.voidwriteAttribute(MarkupLanguageAttributes name, boolean on) Writes a boolean attribute.voidwriteAttribute(MarkupLanguageAttributes name, Integer number) Writes aIntegerattribute, if the value is notnull.abstract voidwriteAttribute(MarkupLanguageAttributes name, String string, boolean escape) Writes a string attribute.abstract voidwriteAttribute(MarkupLanguageAttributes name, HtmlTypes type) voidwriteClassAttribute(CssItem... first) Write the class attribute.voidwriteClassAttribute(CssItem first, CssItem[] second, CssItem... third) Write the class attribute.voidwriteClassAttribute(CssItem first, CssItem[] second, CssItem[] third, CssItem... fourth) Write the class attribute.voidwriteClassAttribute(CssItem first, CssItem[] second, CssItem[] third, CssItem[] fourth, CssItem... fifth) Write the class attribute.voidwriteClassAttribute(CssItem first, CssItem[] second, CssItem[] third, CssItem[] fourth, CssItem[] fifth, CssItem... sixth) voidabstract voidwriteComment(Object comment) voidWrite the id attribute.voidwriteNameAttribute(String name) Write the name attribute.abstract voidVeraltet.Should not directly called via this interface.voidWrite text content.abstract voidwriteURIAttribute(String name, Object value, String property) Veraltet.since 1.0.11, should not directly called via this interface.abstract voidwriteURIAttribute(MarkupLanguageAttributes name, String string) Writes a string attribute URL encoded.Von Klasse geerbte Methoden jakarta.faces.context.ResponseWriter
endDocument, getCharacterEncoding, getContentType, startDocument, writeDoctype, writePreamble, writeText, writeText
-
Konstruktordetails
-
TobagoResponseWriter
public TobagoResponseWriter()
-
-
Methodendetails
-
startElement
@Deprecated public abstract void startElement(String name, jakarta.faces.component.UIComponent component) throws IOException Veraltet.Should not directly called via this interface. There is be a special method which might be better.- Angegeben von:
startElementin Klassejakarta.faces.context.ResponseWriter- Löst aus:
IOException
-
startElement
- Löst aus:
IOException
-
endElement
Veraltet.Should not directly called via this interface. There is be a special method which might be better.- Angegeben von:
endElementin Klassejakarta.faces.context.ResponseWriter- Löst aus:
IOException
-
endElement
- Löst aus:
IOException
-
write
- Setzt außer Kraft:
writein KlasseWriter- Löst aus:
IOException
-
writeComment
- Angegeben von:
writeCommentin Klassejakarta.faces.context.ResponseWriter- Löst aus:
IOException
-
cloneWithWriter
- Angegeben von:
cloneWithWriterin Klassejakarta.faces.context.ResponseWriter
-
writeAttribute
@Deprecated public abstract void writeAttribute(String name, Object value, String property) throws IOException Veraltet.since 1.0.11, should not directly called via this interface. There is be a special method which might be better.- Angegeben von:
writeAttributein Klassejakarta.faces.context.ResponseWriter- Löst aus:
IOException
-
writeURIAttribute
@Deprecated public abstract void writeURIAttribute(String name, Object value, String property) throws IOException Veraltet.since 1.0.11, should not directly called via this interface. There is be a special method which might be better.- Angegeben von:
writeURIAttributein Klassejakarta.faces.context.ResponseWriter- Löst aus:
IOException
-
writeText
Veraltet.Should not directly called via this interface. There is be a special method which might be better.- Angegeben von:
writeTextin Klassejakarta.faces.context.ResponseWriter- Löst aus:
IOException
-
flush
- Angegeben von:
flushin SchnittstelleFlushable- Angegeben von:
flushin Klassejakarta.faces.context.ResponseWriter- Löst aus:
IOException
-
writeAttribute
public abstract void writeAttribute(MarkupLanguageAttributes name, String string, boolean escape) throws IOException Writes a string attribute. The renderer may set escape=false to switch of escaping of the string, if it is not necessary.- Löst aus:
IOException
-
writeAttribute
public abstract void writeAttribute(MarkupLanguageAttributes name, HtmlTypes type) throws IOException - Löst aus:
IOException
-
writeURIAttribute
public abstract void writeURIAttribute(MarkupLanguageAttributes name, String string) throws IOException Writes a string attribute URL encoded.- Löst aus:
IOException
-
writeAttribute
Writes a boolean attribute. The value will not escaped.- Löst aus:
IOException
-
writeAttribute
Writes aIntegerattribute, if the value is notnull. The value will not be escaped.- Löst aus:
IOException
-
writeIdAttribute
Write the id attribute. The value will not escaped.- Löst aus:
IOException
-
writeNameAttribute
Write the name attribute. The value will not escaped.- Löst aus:
IOException
-
writeCommandMapAttribute
Veraltet.Write the command map data attribute.- Löst aus:
IOException
-
writeClassAttribute
Write the class attribute. The value will not escaped.- Löst aus:
IOException
-
writeClassAttribute
public void writeClassAttribute(CssItem first, CssItem[] second, CssItem... third) throws IOException Write the class attribute. The value will not escaped.- Löst aus:
IOException
-
writeClassAttribute
public void writeClassAttribute(CssItem first, CssItem[] second, CssItem[] third, CssItem... fourth) throws IOException Write the class attribute. The value will not escaped.- Löst aus:
IOException
-
writeClassAttribute
public void writeClassAttribute(CssItem first, CssItem[] second, CssItem[] third, CssItem[] fourth, CssItem... fifth) throws IOException Write the class attribute. The value will not escaped.- Löst aus:
IOException
-
writeClassAttribute
public void writeClassAttribute(CssItem first, CssItem[] second, CssItem[] third, CssItem[] fourth, CssItem[] fifth, CssItem... sixth) throws IOException - Löst aus:
IOException
-
writeText
Write text content. The text will be escaped.- Löst aus:
IOException
-
getContentTypeWithCharSet
-
startCDATA
- Setzt außer Kraft:
startCDATAin Klassejakarta.faces.context.ResponseWriter- Löst aus:
IOException
-
endCDATA
- Setzt außer Kraft:
endCDATAin Klassejakarta.faces.context.ResponseWriter- Löst aus:
IOException
-