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