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.
|
void |
endJavascript()
Deprecated.
Should not be used, because it conflicts with CSP.
|
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.
|
void |
startJavascript()
Deprecated.
Should not be used, because it conflicts with CSP.
|
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.
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)
Write the class attribute.
|
void |
writeClassAttribute(CssItem first,
CssItem second,
CssItem... others)
Write the class attribute.
|
void |
writeCommandMapAttribute(String map)
Write the command map data attribute.
|
abstract void |
writeComment(Object comment) |
void |
writeIcon(Icons icon,
CssItem... cssItems)
Writes an supported icon.
|
void |
writeIcon(Icons icon,
Style style,
CssItem... cssItems)
Writes an supported icon with explicit style information.
|
void |
writeIdAttribute(String id)
Write the id attribute.
|
void |
writeJavascript(String script)
Deprecated.
Should not be used, because it conflicts with CSP.
|
void |
writeNameAttribute(String name)
Write the name attribute.
|
void |
writeStyleAttribute(String style)
Deprecated.
since 1.5.0, use writeStyleAttribute(Style) instead.
|
void |
writeStyleAttribute(Style style)
Write the style attribute.
|
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.
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 writeClassAttribute(CssItem first) throws IOException
IOException
public void writeCommandMapAttribute(String map) throws IOException
IOException
public void writeClassAttribute(CssItem first, CssItem second) throws IOException
IOException
public void writeClassAttribute(CssItem first, CssItem second, CssItem... others) throws IOException
IOException
public void writeStyleAttribute(Style style) throws IOException
IOException
@Deprecated public void writeStyleAttribute(String style) throws IOException
IOException
public void writeIcon(Icons icon, CssItem... cssItems) throws IOException
IOException
public void writeIcon(Icons icon, Style style, CssItem... cssItems) throws IOException
IOException
@Deprecated public void writeJavascript(String script) throws IOException
IOException
@Deprecated public void endJavascript() throws IOException
IOException
@Deprecated public void startJavascript() 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–2016 The Apache Software Foundation. All rights reserved.