javax.faces.context
Class PartialResponseWriter

java.lang.Object
  extended by java.io.Writer
      extended by javax.faces.context.ResponseWriter
          extended by javax.faces.context.ResponseWriterWrapper
              extended by javax.faces.context.PartialResponseWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, FacesWrapper<ResponseWriter>

public class PartialResponseWriter
extends ResponseWriterWrapper

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

Field Summary
static String RENDER_ALL_MARKER
           
static String VIEW_STATE_MARKER
           
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
PartialResponseWriter(ResponseWriter writer)
           
 
Method Summary
 void delete(String targetId)
           
 void endCDATA()
           
 void endDocument()
          
 void endError()
           
 void endEval()
           
 void endExtension()
           
 void endInsert()
           
 void endUpdate()
           
 ResponseWriter getWrapped()
          A class that implements this interface uses this method to return an instance of the class being wrapped.
 void redirect(String url)
           
 void startCDATA()
           
 void startDocument()
          
 void startError(String errorName)
           
 void startEval()
           
 void startExtension(Map<String,String> attributes)
           
 void startInsertAfter(String targetId)
           
 void startInsertBefore(String targetId)
           
 void startUpdate(String targetId)
           
 void updateAttributes(String targetId, Map<String,String> attributes)
           
 
Methods inherited from class javax.faces.context.ResponseWriterWrapper
cloneWithWriter, close, endElement, flush, getCharacterEncoding, getContentType, startElement, write, writeAttribute, writeComment, writeText, writeText, writeText, writeURIAttribute
 
Methods inherited from class java.io.Writer
append, append, append, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RENDER_ALL_MARKER

public static final String RENDER_ALL_MARKER
See Also:
Constant Field Values

VIEW_STATE_MARKER

public static final String VIEW_STATE_MARKER
See Also:
Constant Field Values
Constructor Detail

PartialResponseWriter

public PartialResponseWriter(ResponseWriter writer)
Method Detail

delete

public void delete(String targetId)
            throws IOException
Throws:
IOException

endDocument

public void endDocument()
                 throws IOException

Overrides:
endDocument in class ResponseWriterWrapper
Throws:
IOException

endError

public void endError()
              throws IOException
Throws:
IOException

endEval

public void endEval()
             throws IOException
Throws:
IOException

endExtension

public void endExtension()
                  throws IOException
Throws:
IOException

endInsert

public void endInsert()
               throws IOException
Throws:
IOException

endUpdate

public void endUpdate()
               throws IOException
Throws:
IOException

getWrapped

public ResponseWriter getWrapped()
A class that implements this interface uses this method to return an instance of the class being wrapped.

Specified by:
getWrapped in interface FacesWrapper<ResponseWriter>
Specified by:
getWrapped in class ResponseWriterWrapper
Returns:
the instance of the class being wrapped

redirect

public void redirect(String url)
              throws IOException
Throws:
IOException

startDocument

public void startDocument()
                   throws IOException

Overrides:
startDocument in class ResponseWriterWrapper
Throws:
IOException

startError

public void startError(String errorName)
                throws IOException
Throws:
IOException

startCDATA

public void startCDATA()
                throws IOException
Overrides:
startCDATA in class ResponseWriterWrapper
Throws:
IOException

endCDATA

public void endCDATA()
              throws IOException
Overrides:
endCDATA in class ResponseWriterWrapper
Throws:
IOException

startEval

public void startEval()
               throws IOException
Throws:
IOException

startExtension

public void startExtension(Map<String,String> attributes)
                    throws IOException
Throws:
IOException

startInsertAfter

public void startInsertAfter(String targetId)
                      throws IOException
Throws:
IOException

startInsertBefore

public void startInsertBefore(String targetId)
                       throws IOException
Throws:
IOException

startUpdate

public void startUpdate(String targetId)
                 throws IOException
Throws:
IOException

updateAttributes

public void updateAttributes(String targetId,
                             Map<String,String> attributes)
                      throws IOException
Throws:
IOException


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