com.liferay.faces.bridge.context.internal
Class PartialViewContextLiferayImpl.PartialResponseWriterLiferayImpl

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
                  extended by com.liferay.faces.util.context.PartialResponseWriterWrapper
                      extended by com.liferay.faces.bridge.context.internal.PartialViewContextLiferayImpl.PartialResponseWriterLiferayImpl
All Implemented Interfaces:
Closeable, Flushable, Appendable, javax.faces.FacesWrapper<javax.faces.context.ResponseWriter>
Enclosing class:
PartialViewContextLiferayImpl

protected class PartialViewContextLiferayImpl.PartialResponseWriterLiferayImpl
extends PartialResponseWriterWrapper

This class serves as a wrapper around the PartialResponseWriter that will encode JavaScript within an ... section just before the end of the partial-response document.

Author:
Kyle Stiemann

Field Summary
 
Fields inherited from class javax.faces.context.PartialResponseWriter
RENDER_ALL_MARKER, VIEW_STATE_MARKER
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
PartialViewContextLiferayImpl.PartialResponseWriterLiferayImpl(javax.faces.context.PartialResponseWriter partialResponseWriter, javax.faces.context.FacesContext facesContext)
           
 
Method Summary
 void endDocument()
           
 void endEval()
           
protected  void writeScripts(javax.faces.context.FacesContext facesContext, javax.faces.context.ResponseWriter responseWriter, List<Script> scripts)
           
 
Methods inherited from class com.liferay.faces.util.context.PartialResponseWriterWrapper
delete, endError, endExtension, endInsert, endUpdate, redirect, startDocument, startError, startEval, startExtension, startInsertAfter, startInsertBefore, startUpdate, updateAttributes
 
Methods inherited from class javax.faces.context.PartialResponseWriter
getWrapped
 
Methods inherited from class javax.faces.context.ResponseWriterWrapper
cloneWithWriter, close, endCDATA, endElement, flush, getCharacterEncoding, getContentType, startCDATA, 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
 

Constructor Detail

PartialViewContextLiferayImpl.PartialResponseWriterLiferayImpl

public PartialViewContextLiferayImpl.PartialResponseWriterLiferayImpl(javax.faces.context.PartialResponseWriter partialResponseWriter,
                                                                      javax.faces.context.FacesContext facesContext)
Method Detail

endDocument

public void endDocument()
                 throws IOException
Overrides:
endDocument in class PartialResponseWriterWrapper
Throws:
IOException

endEval

public void endEval()
             throws IOException
Overrides:
endEval in class PartialResponseWriterWrapper
Throws:
IOException

writeScripts

protected void writeScripts(javax.faces.context.FacesContext facesContext,
                            javax.faces.context.ResponseWriter responseWriter,
                            List<Script> scripts)
                     throws IOException
Throws:
IOException


Copyright © 2015 Liferay, Inc.. All rights reserved.