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: 676298 $ $Date: 2008-07-13 05:31:48 -0500 (Sun, 13 Jul 2008) $
Author:
Manfred Geiler (latest modification by $Author: skitching $)

Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
ResponseWriter()
           
 
Method Summary
abstract  ResponseWriter cloneWithWriter(Writer writer)
           
abstract  void endDocument()
           
abstract  void endElement(String name)
           
abstract  void flush()
           
abstract  String getCharacterEncoding()
           
abstract  String getContentType()
           
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

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 © 2012 The Apache Software Foundation. All Rights Reserved.