org.apache.myfaces.shared_tomahawk.renderkit.html
Class HtmlResponseWriterImpl
java.lang.Object
   java.io.Writer
java.io.Writer
       javax.faces.context.ResponseWriter
javax.faces.context.ResponseWriter
           org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlResponseWriterImpl
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlResponseWriterImpl
- All Implemented Interfaces: 
- Closeable, Flushable, Appendable
- Direct Known Subclasses: 
- HtmlBufferResponseWriterWrapper
- public class HtmlResponseWriterImpl 
- extends javax.faces.context.ResponseWriter
- Version:
- $Revision: 779412 $ $Date: 2009-05-27 21:36:25 -0500 (Wed, 27 May 2009) $
- Author:
- Manfred Geiler (latest modification by $Author: lu4242 $), Anton Koinov
 
 
 
| Method Summary | 
|  javax.faces.context.ResponseWriter | cloneWithWriter(Writer writer)
 | 
|  void | close()
 | 
|  void | endDocument()
 | 
|  void | endElement(String name)
 | 
|  void | flush()
 | 
|  String | getCharacterEncoding()
 | 
|  String | getContentType()
 | 
|  void | startDocument()
 | 
|  void | startElement(String name,
             javax.faces.component.UIComponent uiComponent)
 | 
| static boolean | supportsContentType(String contentType)
 | 
|  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 name,
               Object value,
               String componentPropertyName)
 | 
|  void | writeComment(Object value)
 | 
|  void | writeText(char[] cbuf,
          int off,
          int len)
 | 
|  void | writeText(Object value,
          String componentPropertyName)
 | 
|  void | writeText(Object object,
          javax.faces.component.UIComponent component,
          String string)This method ignores the
 UIComponentprovided and simply callswriteText(Object,String) | 
|  void | writeURIAttribute(String name,
                  Object value,
                  String componentPropertyName)
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
HtmlResponseWriterImpl
public HtmlResponseWriterImpl(Writer writer,
                              String contentType,
                              String characterEncoding)
                       throws javax.faces.FacesException
- Throws:
- javax.faces.FacesException
supportsContentType
public static boolean supportsContentType(String contentType)
- 
 
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()
- 
- Specified by:
- startDocumentin class- javax.faces.context.ResponseWriter
 
- 
 
endDocument
public void endDocument()
                 throws IOException
- 
- Specified by:
- endDocumentin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
startElement
public void startElement(String name,
                         javax.faces.component.UIComponent uiComponent)
                  throws IOException
- 
- Specified by:
- startElementin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
endElement
public void endElement(String name)
                throws IOException
- 
- Specified by:
- endElementin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
writeAttribute
public void writeAttribute(String name,
                           Object value,
                           String componentPropertyName)
                    throws IOException
- 
- Specified by:
- writeAttributein class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
writeURIAttribute
public void writeURIAttribute(String name,
                              Object value,
                              String componentPropertyName)
                       throws IOException
- 
- Specified by:
- writeURIAttributein class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
writeComment
public void writeComment(Object value)
                  throws IOException
- 
- Specified by:
- writeCommentin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
writeText
public void writeText(Object value,
                      String componentPropertyName)
               throws IOException
- 
- Specified by:
- writeTextin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
writeText
public void writeText(char[] cbuf,
                      int off,
                      int len)
               throws IOException
- 
- Specified by:
- writeTextin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
cloneWithWriter
public 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
 
writeText
public void writeText(Object object,
                      javax.faces.component.UIComponent component,
                      String string)
               throws IOException
- This method ignores the UIComponentprovided and simply callswriteText(Object,String)
 
- 
- Overrides:
- writeTextin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
- Since:
- 1.2
 
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.