Class Overview
This provides an alternative ResponseWriter interfaces, which allows optimizations.
E. g. some attributes needed to to be escaped.
Date: 08.05.2007 13:51:43
Summary
[Expand]
Inherited Fields |
From class
java.io.Writer
|
Public Methods |
abstract
ResponseWriter
|
cloneWithWriter(Writer writer)
|
abstract
void
|
endElement(String name)
|
void
|
endJavascript()
|
abstract
void
|
flush()
|
String
|
getContentTypeWithCharSet()
|
abstract
String
|
getStyleClasses()
|
void
|
startElement(String name)
|
abstract
void
|
startElement(String name, UIComponent component)
|
void
|
startJavascript()
|
abstract
void
|
write(String string)
|
void
|
writeAttribute(String name, boolean on)
Writes a boolean attribute.
|
void
|
writeAttribute(String name, int number)
Writes a integer attribute.
|
abstract
void
|
writeAttribute(String name, Object value, String property)
This method is deprecated.
Should not directly called via this interface. There is be a special method which might be better.
|
abstract
void
|
writeAttribute(String name, String string, boolean escape)
Writes a string attribute.
|
void
|
writeAttributeFromComponent(String name, String property)
Writes a propery as attribute.
|
abstract
void
|
writeClassAttribute()
This method is deprecated.
since Tobago 1.5.0
|
void
|
writeClassAttribute(String cssClass)
This method is deprecated.
since Tobago 1.5.0
|
void
|
writeClassAttribute(Classes classes)
Write the class attribute.
|
void
|
writeClassAttribute(StyleClasses styleClasses)
This method is deprecated.
since Tobago 1.5.0
|
abstract
void
|
writeComment(Object comment)
|
void
|
writeIdAttribute(String id)
Write the id attribute.
|
void
|
writeJavascript(String script)
|
void
|
writeNameAttribute(String name)
Write the name attribute.
|
void
|
writeStyleAttribute(String style)
This method is deprecated.
since 1.5.0, use writeStyleAttribute(Style) instead.
|
void
|
writeStyleAttribute(Style style)
Write the style attribute.
|
abstract
void
|
writeText(Object text, String property)
This method is 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.
|
void
|
writeTextFromComponent(String property)
Writes a property as text.
|
[Expand]
Inherited Methods |
From class
javax.faces.context.ResponseWriter
abstract
ResponseWriter
|
cloneWithWriter(Writer arg0)
|
abstract
void
|
endDocument()
|
abstract
void
|
endElement(String arg0)
|
abstract
void
|
flush()
|
abstract
String
|
getCharacterEncoding()
|
abstract
String
|
getContentType()
|
abstract
void
|
startDocument()
|
abstract
void
|
startElement(String arg0, UIComponent arg1)
|
abstract
void
|
writeAttribute(String arg0, Object arg1, String arg2)
|
abstract
void
|
writeComment(Object arg0)
|
abstract
void
|
writeText(char[] arg0, int arg1, int arg2)
|
abstract
void
|
writeText(Object arg0, String arg1)
|
void
|
writeText(Object arg0, UIComponent arg1, String arg2)
|
abstract
void
|
writeURIAttribute(String arg0, Object arg1, String arg2)
|
|
From class
java.io.Writer
Writer
|
append(char arg0)
|
Writer
|
append(CharSequence arg0)
|
Writer
|
append(CharSequence arg0, int arg1, int arg2)
|
abstract
void
|
close()
|
abstract
void
|
flush()
|
void
|
write(char[] arg0)
|
abstract
void
|
write(char[] arg0, int arg1, int arg2)
|
void
|
write(int arg0)
|
void
|
write(String arg0)
|
void
|
write(String arg0, int arg1, int arg2)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0)
|
final
void
|
wait(long arg0, int arg1)
|
|
From interface
java.io.Closeable
|
From interface
java.io.Flushable
|
From interface
java.lang.Appendable
|
Public Constructors
public
TobagoResponseWriter
()
Public Methods
public
abstract
ResponseWriter
cloneWithWriter
(Writer writer)
public
abstract
void
endElement
(String name)
public
void
endJavascript
()
public
abstract
void
flush
()
public
String
getContentTypeWithCharSet
()
public
abstract
String
getStyleClasses
()
public
void
startElement
(String name)
public
abstract
void
startElement
(String name, UIComponent component)
public
void
startJavascript
()
public
abstract
void
write
(String string)
public
void
writeAttribute
(String name, boolean on)
Writes a boolean attribute. The value will not escaped.
public
void
writeAttribute
(String name, int number)
Writes a integer attribute. The value will not escaped.
public
abstract
void
writeAttribute
(String name, Object value, String property)
This method is deprecated.
Should not directly called via this interface. There is be a special method which might be better.
public
abstract
void
writeAttribute
(String name, String string, boolean escape)
Writes a string attribute. The renderer may set escape=false to switch of escaping of the string,
if it is not necessary.
public
void
writeAttributeFromComponent
(String name, String property)
Writes a propery as attribute. The value will be escaped.
public
abstract
void
writeClassAttribute
()
This method is deprecated.
since Tobago 1.5.0
Write the class attribute. The value will not escaped.
public
void
writeClassAttribute
(String cssClass)
This method is deprecated.
since Tobago 1.5.0
Write the class attribute. The value will not escaped.
public
void
writeClassAttribute
(Classes classes)
Write the class attribute. The value will not escaped.
Note: For backward compatibility the value of the Attribute
STYLE_CLASS
will be inserted additionally. This function will be removed in later releases.
Parameters
classes
| The abstract representation of the css class string, normally created by the renderer.
|
public
void
writeClassAttribute
(StyleClasses styleClasses)
This method is deprecated.
since Tobago 1.5.0
Write the class attribute. The value will not escaped.
public
abstract
void
writeComment
(Object comment)
public
void
writeIdAttribute
(String id)
Write the id attribute. The value will not escaped.
public
void
writeJavascript
(String script)
public
void
writeNameAttribute
(String name)
Write the name attribute. The value will not escaped.
public
void
writeStyleAttribute
(String style)
This method is deprecated.
since 1.5.0, use writeStyleAttribute(Style) instead.
Write the style attribute. The value will not escaped.
public
void
writeStyleAttribute
(Style style)
Write the style attribute. The value will not escaped.
public
abstract
void
writeText
(Object text, String property)
This method is deprecated.
Should not directly called via this interface. There is be a special method which might be better.
public
void
writeText
(String text)
Write text content. The text will be escaped.
public
void
writeTextFromComponent
(String property)
Writes a property as text. The text will be escaped.