javax.faces.context
Class ResponseWriter

java.lang.Object
  extended by java.io.Writer
      extended by javax.faces.context.ResponseWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable
Direct Known Subclasses:
ResponseWriterWrapper

public abstract class ResponseWriter
extends Writer

see Javadoc of JSF Specification

Version:
$Revision: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
Author:
Manfred Geiler (latest modification by $Author: bommel $)

Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
ResponseWriter()
           
 
Method Summary
abstract  ResponseWriter cloneWithWriter(Writer writer)
           
 void endCDATA()
           
abstract  void endDocument()
           
abstract  void endElement(String name)
           
abstract  void flush()
           
abstract  String getCharacterEncoding()
           
abstract  String getContentType()
           
 void startCDATA()
           
abstract  void startDocument()
           
abstract  void startElement(String name, UIComponent component)
           
abstract  void writeAttribute(String name, Object value, String property)
           
abstract  void writeComment(Object comment)
           
abstract  void writeText(char[] text, int off, int len)
           
abstract  void writeText(Object text, String property)
           
 void writeText(Object object, UIComponent component, String string)
           
abstract  void writeURIAttribute(String name, Object value, String property)
           
 
Methods inherited from class java.io.Writer
append, append, append, close, write, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseWriter

public ResponseWriter()
Method Detail

getContentType

public abstract String getContentType()

getCharacterEncoding

public abstract String getCharacterEncoding()

flush

public abstract void flush()
                    throws IOException
Specified by:
flush in interface Flushable
Specified by:
flush in class Writer
Throws:
IOException

startDocument

public abstract void startDocument()
                            throws IOException
Throws:
IOException

endDocument

public abstract void endDocument()
                          throws IOException
Throws:
IOException

startElement

public abstract void startElement(String name,
                                  UIComponent component)
                           throws IOException
Throws:
IOException

endElement

public abstract void endElement(String name)
                         throws IOException
Throws:
IOException

startCDATA

public void startCDATA()
                throws IOException
Throws:
IOException

endCDATA

public void endCDATA()
              throws IOException
Throws:
IOException

writeAttribute

public abstract void writeAttribute(String name,
                                    Object value,
                                    String property)
                             throws IOException
Throws:
IOException

writeURIAttribute

public abstract void writeURIAttribute(String name,
                                       Object value,
                                       String property)
                                throws IOException
Throws:
IOException

writeComment

public abstract void writeComment(Object comment)
                           throws IOException
Throws:
IOException

writeText

public abstract void writeText(Object text,
                               String property)
                        throws IOException
Throws:
IOException

writeText

public abstract void writeText(char[] text,
                               int off,
                               int len)
                        throws IOException
Throws:
IOException

cloneWithWriter

public abstract ResponseWriter cloneWithWriter(Writer writer)

writeText

public void writeText(Object object,
                      UIComponent component,
                      String string)
               throws IOException
Throws:
IOException
Since:
1.2


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.