Package org.apache.myfaces.tobago.webapp
Klasse TobagoResponseWriter
java.lang.Object
java.io.Writer
javax.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 javax.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 javax.faces.context.ResponseWriter
cloneWithWriter
(Writer writer) void
endCDATA()
abstract void
endElement
(String name) Veraltet.Should not directly called via this interface.abstract void
endElement
(HtmlElements name) abstract void
flush()
void
abstract void
startElement
(String name, javax.faces.component.UIComponent component) Veraltet.Should not directly called via this interface.abstract void
startElement
(HtmlElements name) abstract void
startElement
(HtmlElements name, javax.faces.component.UIComponent component) abstract void
abstract void
writeAttribute
(String name, Object value, String property) Veraltet.since 1.0.11, should not directly called via this interface.void
writeAttribute
(MarkupLanguageAttributes name, boolean on) Writes a boolean attribute.void
writeAttribute
(MarkupLanguageAttributes name, Integer number) Writes aInteger
attribute, if the value is notnull
.abstract void
writeAttribute
(MarkupLanguageAttributes name, String string, boolean escape) Writes a string attribute.abstract void
writeAttribute
(MarkupLanguageAttributes name, HtmlTypes type) void
writeClassAttribute
(CssItem... first) Write the class attribute.void
writeClassAttribute
(CssItem first, CssItem[] second, CssItem... third) Write the class attribute.void
writeClassAttribute
(CssItem first, CssItem[] second, CssItem[] third, CssItem... fourth) Write the class attribute.void
writeClassAttribute
(CssItem first, CssItem[] second, CssItem[] third, CssItem[] fourth, CssItem... fifth) Write the class attribute.void
writeClassAttribute
(CssItem first, CssItem[] second, CssItem[] third, CssItem[] fourth, CssItem[] fifth, CssItem... sixth) void
abstract void
writeComment
(Object comment) void
Write the id attribute.void
writeNameAttribute
(String name) Write the name attribute.abstract void
Veraltet.Should not directly called via this interface.void
Write text content.abstract void
writeURIAttribute
(String name, Object value, String property) Veraltet.since 1.0.11, should not directly called via this interface.abstract void
writeURIAttribute
(MarkupLanguageAttributes name, String string) Writes a string attribute URL encoded.Von Klasse geerbte Methoden javax.faces.context.ResponseWriter
endDocument, getCharacterEncoding, getContentType, startDocument, writeDoctype, writePreamble, writeText, writeText
-
Konstruktordetails
-
TobagoResponseWriter
public TobagoResponseWriter()
-
-
Methodendetails
-
startElement
@Deprecated public abstract void startElement(String name, javax.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:
startElement
in Klassejavax.faces.context.ResponseWriter
- Löst aus:
IOException
-
startElement
public abstract void startElement(HtmlElements name, javax.faces.component.UIComponent component) throws IOException - 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:
endElement
in Klassejavax.faces.context.ResponseWriter
- Löst aus:
IOException
-
endElement
- Löst aus:
IOException
-
write
- Setzt außer Kraft:
write
in KlasseWriter
- Löst aus:
IOException
-
writeComment
- Angegeben von:
writeComment
in Klassejavax.faces.context.ResponseWriter
- Löst aus:
IOException
-
cloneWithWriter
- Angegeben von:
cloneWithWriter
in Klassejavax.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:
writeAttribute
in Klassejavax.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:
writeURIAttribute
in Klassejavax.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:
writeText
in Klassejavax.faces.context.ResponseWriter
- Löst aus:
IOException
-
flush
- Angegeben von:
flush
in SchnittstelleFlushable
- Angegeben von:
flush
in Klassejavax.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 aInteger
attribute, 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:
startCDATA
in Klassejavax.faces.context.ResponseWriter
- Löst aus:
IOException
-
endCDATA
- Setzt außer Kraft:
endCDATA
in Klassejavax.faces.context.ResponseWriter
- Löst aus:
IOException
-