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.
| Constructor and Description |
|---|
TobagoResponseWriter() |
| Modifier and Type | Method and Description |
|---|---|
abstract javax.faces.context.ResponseWriter |
cloneWithWriter(Writer writer) |
void |
endCDATA() |
abstract void |
endElement(HtmlElements name) |
abstract void |
endElement(String name)
Deprecated.
Should not directly called via this interface. There is be a special method which might be better.
|
abstract void |
flush() |
String |
getContentTypeWithCharSet() |
void |
startCDATA() |
abstract void |
startElement(HtmlElements name) |
abstract void |
startElement(String name,
javax.faces.component.UIComponent component)
Deprecated.
Should not directly called via this interface. There is be a special method which might be better.
|
abstract void |
write(String string) |
void |
writeAttribute(MarkupLanguageAttributes name,
boolean on)
Writes a boolean attribute.
|
abstract void |
writeAttribute(MarkupLanguageAttributes name,
HtmlTypes type) |
void |
writeAttribute(MarkupLanguageAttributes name,
Integer number)
Writes a
Integer attribute, if the value is not null. |
abstract void |
writeAttribute(MarkupLanguageAttributes name,
String string,
boolean escape)
Writes a string attribute.
|
abstract void |
writeAttribute(String name,
Object value,
String property)
Deprecated.
since 1.0.11, should not directly called via this interface. There is be a special method which might
be better.
|
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 |
writeCommandMapAttribute(String map)
Write the command map data attribute.
|
abstract void |
writeComment(Object comment) |
void |
writeIcon(Icons icon,
CssItem... cssItems)
Deprecated.
4.0.0. Use normal rendering methods.
|
void |
writeIdAttribute(String id)
Write the id attribute.
|
void |
writeNameAttribute(String name)
Write the name attribute.
|
void |
writeStyleAttribute(Style style)
Deprecated.
since 4.0.0. UIStyle now renders itself.
|
abstract void |
writeText(Object text,
String property)
Deprecated.
Should not directly called via this interface. There is be a special method which might be better.
|
void |
writeText(String text)
Write text content.
|
abstract void |
writeURIAttribute(MarkupLanguageAttributes name,
String string)
Writes a string attribute URL encoded.
|
abstract void |
writeURIAttribute(String name,
Object value,
String property)
Deprecated.
since 1.0.11, should not directly called via this interface. There is be a special method which might
be better.
|
endDocument, getCharacterEncoding, getContentType, startDocument, writeText, writeText@Deprecated public abstract void startElement(String name, javax.faces.component.UIComponent component) throws IOException
startElement in class javax.faces.context.ResponseWriterIOExceptionpublic abstract void startElement(HtmlElements name) throws IOException
IOException@Deprecated public abstract void endElement(String name) throws IOException
endElement in class javax.faces.context.ResponseWriterIOExceptionpublic abstract void endElement(HtmlElements name) throws IOException
IOExceptionpublic abstract void write(String string) throws IOException
write in class WriterIOExceptionpublic abstract void writeComment(Object comment) throws IOException
writeComment in class javax.faces.context.ResponseWriterIOExceptionpublic abstract javax.faces.context.ResponseWriter cloneWithWriter(Writer writer)
cloneWithWriter in class javax.faces.context.ResponseWriter@Deprecated public abstract void writeAttribute(String name, Object value, String property) throws IOException
writeAttribute in class javax.faces.context.ResponseWriterIOException@Deprecated public abstract void writeURIAttribute(String name, Object value, String property) throws IOException
writeURIAttribute in class javax.faces.context.ResponseWriterIOException@Deprecated public abstract void writeText(Object text, String property) throws IOException
writeText in class javax.faces.context.ResponseWriterIOExceptionpublic abstract void flush()
throws IOException
flush in interface Flushableflush in class javax.faces.context.ResponseWriterIOExceptionpublic abstract void writeAttribute(MarkupLanguageAttributes name, String string, boolean escape) throws IOException
IOExceptionpublic abstract void writeAttribute(MarkupLanguageAttributes name, HtmlTypes type) throws IOException
IOExceptionpublic abstract void writeURIAttribute(MarkupLanguageAttributes name, String string) throws IOException
IOExceptionpublic void writeAttribute(MarkupLanguageAttributes name, boolean on) throws IOException
IOExceptionpublic void writeAttribute(MarkupLanguageAttributes name, Integer number) throws IOException
Integer attribute, if the value is not null. The value will not be escaped.IOExceptionpublic void writeIdAttribute(String id) throws IOException
IOExceptionpublic void writeNameAttribute(String name) throws IOException
IOExceptionpublic void writeCommandMapAttribute(String map) throws IOException
IOExceptionpublic void writeClassAttribute(CssItem... first) throws IOException
IOExceptionpublic void writeClassAttribute(CssItem first, CssItem[] second, CssItem... third) throws IOException
IOExceptionpublic void writeClassAttribute(CssItem first, CssItem[] second, CssItem[] third, CssItem... fourth) throws IOException
IOExceptionpublic void writeClassAttribute(CssItem first, CssItem[] second, CssItem[] third, CssItem[] fourth, CssItem... fifth) throws IOException
IOExceptionpublic void writeClassAttribute(CssItem first, CssItem[] second, CssItem[] third, CssItem[] fourth, CssItem[] fifth, CssItem... sixth) throws IOException
IOException@Deprecated public void writeStyleAttribute(Style style) throws IOException
IOException@Deprecated public void writeIcon(Icons icon, CssItem... cssItems) throws IOException
IOExceptionpublic void writeText(String text) throws IOException
IOExceptionpublic String getContentTypeWithCharSet()
public void startCDATA()
throws IOException
startCDATA in class javax.faces.context.ResponseWriterIOExceptionpublic void endCDATA()
throws IOException
endCDATA in class javax.faces.context.ResponseWriterIOExceptionCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.