org.apache.myfaces.shared_tomahawk.context
Class ResponseWriterWrapper
java.lang.Object
   java.io.Writer
java.io.Writer
       javax.faces.context.ResponseWriter
javax.faces.context.ResponseWriter
           org.apache.myfaces.shared_tomahawk.context.ResponseWriterWrapper
org.apache.myfaces.shared_tomahawk.context.ResponseWriterWrapper
- All Implemented Interfaces: 
- Closeable, Flushable, Appendable
- public abstract class ResponseWriterWrapper 
- extends javax.faces.context.ResponseWriter
Convenient base class for writing a ResponseWriter wrapper class.
- Author:
- Manfred Geiler
 
 
 
| Method Summary | 
| abstract  javax.faces.context.ResponseWriter | cloneWithWriter(Writer writer)
 | 
|  void | close()
 | 
|  void | endDocument()
 | 
|  void | endElement(String s)
 | 
|  void | flush()
 | 
|  String | getCharacterEncoding()
 | 
|  String | getContentType()
 | 
|  void | startDocument()
 | 
|  void | startElement(String s,
             javax.faces.component.UIComponent uicomponent)
 | 
|  void | write(char[] cbuf)
 | 
|  void | write(char[] cbuf,
      int off,
      int len)
 | 
|  void | write(int c)
 | 
|  void | write(String str)
 | 
|  void | write(String str,
      int off,
      int len)
 | 
|  void | writeAttribute(String s,
               Object obj,
               String s1)
 | 
|  void | writeComment(Object obj)
 | 
|  void | writeText(char[] ac,
          int i,
          int j)
 | 
|  void | writeText(Object obj,
          String s)
 | 
|  void | writeURIAttribute(String s,
                  Object obj,
                  String s1)
 | 
 
| Methods inherited from class javax.faces.context.ResponseWriter | 
| writeText | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
_responseWriter
protected javax.faces.context.ResponseWriter _responseWriter
ResponseWriterWrapper
public ResponseWriterWrapper(javax.faces.context.ResponseWriter responseWriter)
getContentType
public String getContentType()
- 
- Specified by:
- getContentTypein class- javax.faces.context.ResponseWriter
 
- 
 
getCharacterEncoding
public String getCharacterEncoding()
- 
- Specified by:
- getCharacterEncodingin class- javax.faces.context.ResponseWriter
 
- 
 
flush
public void flush()
           throws IOException
- 
- Specified by:
- flushin interface- Flushable
- Specified by:
- flushin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
startDocument
public void startDocument()
                   throws IOException
- 
- Specified by:
- startDocumentin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
endDocument
public void endDocument()
                 throws IOException
- 
- Specified by:
- endDocumentin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
startElement
public void startElement(String s,
                         javax.faces.component.UIComponent uicomponent)
                  throws IOException
- 
- Specified by:
- startElementin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
endElement
public void endElement(String s)
                throws IOException
- 
- Specified by:
- endElementin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
writeAttribute
public void writeAttribute(String s,
                           Object obj,
                           String s1)
                    throws IOException
- 
- Specified by:
- writeAttributein class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
writeURIAttribute
public void writeURIAttribute(String s,
                              Object obj,
                              String s1)
                       throws IOException
- 
- Specified by:
- writeURIAttributein class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
writeComment
public void writeComment(Object obj)
                  throws IOException
- 
- Specified by:
- writeCommentin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
writeText
public void writeText(Object obj,
                      String s)
               throws IOException
- 
- Specified by:
- writeTextin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
writeText
public void writeText(char[] ac,
                      int i,
                      int j)
               throws IOException
- 
- Specified by:
- writeTextin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
cloneWithWriter
public abstract javax.faces.context.ResponseWriter cloneWithWriter(Writer writer)
- 
- Specified by:
- cloneWithWriterin class- javax.faces.context.ResponseWriter
 
- 
 
close
public void close()
           throws IOException
- 
- Specified by:
- closein interface- Closeable
- Specified by:
- closein class- Writer
 
- 
- Throws:
- IOException
 
write
public void write(char[] cbuf,
                  int off,
                  int len)
           throws IOException
- 
- Specified by:
- writein class- Writer
 
- 
- Throws:
- IOException
 
write
public void write(int c)
           throws IOException
- 
- Overrides:
- writein class- Writer
 
- 
- Throws:
- IOException
 
write
public void write(char[] cbuf)
           throws IOException
- 
- Overrides:
- writein class- Writer
 
- 
- Throws:
- IOException
 
write
public void write(String str)
           throws IOException
- 
- Overrides:
- writein class- Writer
 
- 
- Throws:
- IOException
 
write
public void write(String str,
                  int off,
                  int len)
           throws IOException
- 
- Overrides:
- writein class- Writer
 
- 
- Throws:
- IOException
 
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.