|
||||||||||
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.
User: lofwyr Date: 08.05.2007 13:51:43
Field Summary |
---|
Fields inherited from class java.io.Writer |
---|
lock |
Constructor Summary | |
---|---|
TobagoResponseWriter()
|
Method Summary | |
---|---|
abstract ResponseWriter |
cloneWithWriter(Writer writer)
|
abstract void |
endElement(String name)
|
abstract void |
flush()
|
String |
getContentTypeWithCharSet()
|
void |
startElement(String name)
Deprecated. Use startElement(name, null) instead. |
abstract void |
startElement(String name,
UIComponent component)
|
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()
Write the class attribute. |
void |
writeClassAttribute(String cssClass)
Write the class attribute. |
void |
writeClassAttribute(StyleClasses styleClasses)
Write the class attribute. |
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. |
abstract void |
writeStyleAttribute()
Write the style attribute. |
void |
writeStyleAttribute(HtmlStyleMap style)
Write the style attribute. |
void |
writeStyleAttribute(String 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 propery as text. |
Methods inherited from class javax.faces.context.ResponseWriter |
---|
endDocument, getCharacterEncoding, getContentType, startDocument, 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, UIComponent component) throws IOException
startElement
in class 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 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 ResponseWriter
IOException
public abstract ResponseWriter cloneWithWriter(Writer writer)
cloneWithWriter
in class ResponseWriter
@Deprecated public abstract void writeAttribute(String name, Object value, String property) throws IOException
writeAttribute
in class ResponseWriter
IOException
@Deprecated public abstract void writeText(Object text, String property) throws IOException
writeText
in class ResponseWriter
IOException
public abstract void flush() throws IOException
flush
in interface Flushable
flush
in class 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
public void writeClassAttribute(String cssClass) throws IOException
IOException
public void writeClassAttribute(StyleClasses styleClasses) throws IOException
IOException
public abstract void writeClassAttribute() throws IOException
IOException
public void writeStyleAttribute(HtmlStyleMap style) throws IOException
IOException
public void writeStyleAttribute(String style) throws IOException
IOException
public abstract void writeStyleAttribute() throws IOException
IOException
public void writeJavascript(String script) 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 |