|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.Writer
javax.faces.context.ResponseWriter
org.apache.myfaces.tobago.webapp.TobagoResponseWriter
public abstract class TobagoResponseWriter
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
Field Summary |
---|
Fields inherited from class java.io.Writer |
---|
lock |
Constructor Summary | |
---|---|
TobagoResponseWriter()
|
Method Summary | |
---|---|
abstract javax.faces.context.ResponseWriter |
cloneWithWriter(Writer writer)
|
abstract void |
endElement(String name)
|
void |
endJavascript()
|
abstract void |
flush()
|
String |
getContentTypeWithCharSet()
|
abstract String |
getStyleClasses()
Deprecated. |
void |
startElement(String name)
Deprecated. Use startElement(name, null) instead. |
abstract void |
startElement(String name,
javax.faces.component.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)
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()
Deprecated. since Tobago 1.5.0 |
void |
writeClassAttribute(Classes classes)
Write the class attribute. |
void |
writeClassAttribute(String cssClass)
Deprecated. since Tobago 1.5.0 |
void |
writeClassAttribute(StyleClasses styleClasses)
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)
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. |
void |
writeTextFromComponent(String property)
Writes a property as text. |
Methods inherited from class javax.faces.context.ResponseWriter |
---|
endDocument, getCharacterEncoding, getContentType, startDocument, writeText, writeText, writeURIAttribute |
Methods inherited from class java.io.Writer |
---|
append, append, append, close, write, write, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TobagoResponseWriter()
Method Detail |
---|
public abstract void startElement(String name, javax.faces.component.UIComponent component) throws IOException
startElement
in class javax.faces.context.ResponseWriter
IOException
@Deprecated public void startElement(String name) throws IOException
startElement(name, null)
instead.
IOException
public abstract void endElement(String name) throws IOException
endElement
in class javax.faces.context.ResponseWriter
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 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(String name, String string, boolean escape) throws IOException
IOException
public void writeAttribute(String name, boolean on) throws IOException
IOException
public void writeAttribute(String name, int number) throws IOException
IOException
public void writeAttributeFromComponent(String name, String property) throws IOException
IOException
public void writeIdAttribute(String id) throws IOException
IOException
public void writeNameAttribute(String name) throws IOException
IOException
@Deprecated public void writeClassAttribute(String cssClass) throws IOException
IOException
@Deprecated public void writeClassAttribute(StyleClasses styleClasses) throws IOException
IOException
public void writeClassAttribute(Classes classes) throws IOException
Attributes.STYLE_CLASS
will be inserted additionally. This function will be removed in later releases.
classes
- The abstract representation of the css class string, normally created by the renderer.
IOException
@Deprecated public abstract String getStyleClasses()
@Deprecated public abstract void writeClassAttribute() throws IOException
IOException
public void writeStyleAttribute(Style style) throws IOException
IOException
@Deprecated public void writeStyleAttribute(String style) throws IOException
IOException
public void writeJavascript(String script) throws IOException
IOException
public void endJavascript() throws IOException
IOException
public void startJavascript() throws IOException
IOException
public void writeText(String text) throws IOException
IOException
public void writeTextFromComponent(String property) throws IOException
IOException
public String getContentTypeWithCharSet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |