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.ResponseWriter
IOException
public abstract void startElement(HtmlElements name) throws IOException
IOException
@Deprecated public abstract void endElement(String name) throws IOException
endElement
in class javax.faces.context.ResponseWriter
IOException
public abstract void endElement(HtmlElements name) throws IOException
IOException
public abstract void write(String string) throws IOException
write
in class Writer
IOException
public abstract void writeComment(Object comment) throws IOException
writeComment
in class javax.faces.context.ResponseWriter
IOException
public 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.ResponseWriter
IOException
@Deprecated public abstract void writeURIAttribute(String name, Object value, String property) throws IOException
writeURIAttribute
in class javax.faces.context.ResponseWriter
IOException
@Deprecated public abstract void writeText(Object text, String property) throws IOException
writeText
in class javax.faces.context.ResponseWriter
IOException
public abstract void flush() throws IOException
flush
in interface Flushable
flush
in class javax.faces.context.ResponseWriter
IOException
public abstract void writeAttribute(MarkupLanguageAttributes name, String string, boolean escape) throws IOException
IOException
public abstract void writeAttribute(MarkupLanguageAttributes name, HtmlTypes type) throws IOException
IOException
public abstract void writeURIAttribute(MarkupLanguageAttributes name, String string) throws IOException
IOException
public void writeAttribute(MarkupLanguageAttributes name, boolean on) throws IOException
IOException
public void writeAttribute(MarkupLanguageAttributes name, Integer number) throws IOException
Integer
attribute, if the value is not null
. The value will not be escaped.IOException
public void writeIdAttribute(String id) throws IOException
IOException
public void writeNameAttribute(String name) throws IOException
IOException
public void writeCommandMapAttribute(String map) throws IOException
IOException
public void writeClassAttribute(CssItem... first) throws IOException
IOException
public void writeClassAttribute(CssItem first, CssItem[] second, CssItem... third) throws IOException
IOException
public void writeClassAttribute(CssItem first, CssItem[] second, CssItem[] third, CssItem... fourth) throws IOException
IOException
public void writeClassAttribute(CssItem first, CssItem[] second, CssItem[] third, CssItem[] fourth, CssItem... fifth) throws IOException
IOException
public 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
IOException
public void writeText(String text) throws IOException
IOException
public String getContentTypeWithCharSet()
public void startCDATA() throws IOException
startCDATA
in class javax.faces.context.ResponseWriter
IOException
public void endCDATA() throws IOException
endCDATA
in class javax.faces.context.ResponseWriter
IOException
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.