org.apache.myfaces.context

Class ResponseWriterWrapper

Known Direct Subclasses:
DummyFormResponseWriterWrapper

public abstract class ResponseWriterWrapper
extends ResponseWriter

Version:
$Revision: 167257 $ $Date: 2004-10-13 13:51:02 +0200 (Wed, 13 Oct 2004) $
Author:
Manfred Geiler (latest modification by $Author: matze $)

Field Summary

protected ResponseWriter
_responseWriter

Constructor Summary

ResponseWriterWrapper(ResponseWriter responseWriter)

Method Summary

abstract ResponseWriter
cloneWithWriter(Writer writer)
void
close()
void
endDocument()
void
endElement(String s)
void
flush()
String
getCharacterEncoding()
String
getContentType()
void
startDocument()
void
startElement(String s, UIComponent uicomponent)
void
write(String str)
void
write(String str, int off, int len)
void
write(cbuf[] )
void
write(cbuf[] , int off, int len)
void
write(int c)
void
writeAttribute(String s, Object obj, String s1)
void
writeComment(Object obj)
void
writeText(Object obj, String s)
void
writeText(ac[] , int i, int j)
void
writeURIAttribute(String s, Object obj, String s1)

Field Details

_responseWriter

protected ResponseWriter _responseWriter

Constructor Details

ResponseWriterWrapper

public ResponseWriterWrapper(ResponseWriter responseWriter)

Method Details

cloneWithWriter

public abstract ResponseWriter cloneWithWriter(Writer writer)

close

public void close()
            throws IOException

endDocument

public void endDocument()
            throws IOException

endElement

public void endElement(String s)
            throws IOException

flush

public void flush()
            throws IOException

getCharacterEncoding

public String getCharacterEncoding()

getContentType

public String getContentType()

startDocument

public void startDocument()
            throws IOException

startElement

public void startElement(String s,
                         UIComponent uicomponent)
            throws IOException

write

public void write(String str)
            throws IOException

write

public void write(String str,
                  int off,
                  int len)
            throws IOException

write

public void write(cbuf[] )
            throws IOException

write

public void write(cbuf[] ,
                  int off,
                  int len)
            throws IOException

write

public void write(int c)
            throws IOException

writeAttribute

public void writeAttribute(String s,
                           Object obj,
                           String s1)
            throws IOException

writeComment

public void writeComment(Object obj)
            throws IOException

writeText

public void writeText(Object obj,
                      String s)
            throws IOException

writeText

public void writeText(ac[] ,
                      int i,
                      int j)
            throws IOException

writeURIAttribute

public void writeURIAttribute(String s,
                              Object obj,
                              String s1)
            throws IOException