org.apache.myfaces.context.servlet
Class FacesContextImpl

java.lang.Object
  extended by javax.faces.context.FacesContext
      extended by org.apache.myfaces.context.servlet.FacesContextImpl
Direct Known Subclasses:
ServletFacesContextImpl

public class FacesContextImpl
extends FacesContext

Version:
$Revision: 938287 $ $Date: 2010-04-26 20:34:31 -0500 (Mon, 26 Apr 2010) $
Author:
Manfred Geiler (latest modification by $Author: lu4242 $), Anton Koinov

Constructor Summary
FacesContextImpl(javax.portlet.PortletContext portletContext, javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse)
          Deprecated. 
FacesContextImpl(ReleaseableExternalContext externalContext, ReleaseableFacesContextFactory facesContextFactory)
           
FacesContextImpl(javax.servlet.ServletContext servletContext, javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse)
          Deprecated. 
 
Method Summary
 void addMessage(String clientId, FacesMessage message)
           
 Application getApplication()
           
 Iterator getClientIdsWithMessages()
           
 javax.el.ELContext getELContext()
           
 ExternalContext getExternalContext()
           
 FacesMessage.Severity getMaximumSeverity()
           
 Iterator getMessages()
           
 Iterator getMessages(String clientId)
           
 RenderKit getRenderKit()
           
 boolean getRenderResponse()
           
 boolean getResponseComplete()
           
 ResponseStream getResponseStream()
           
 ResponseWriter getResponseWriter()
           
 UIViewRoot getViewRoot()
           
 void release()
           
 void renderResponse()
           
 void responseComplete()
           
 void setExternalContext(ReleaseableExternalContext extContext)
           
 void setResponseStream(ResponseStream responseStream)
           
 void setResponseWriter(ResponseWriter responseWriter)
           
 void setViewRoot(UIViewRoot viewRoot)
           
 
Methods inherited from class javax.faces.context.FacesContext
getCurrentInstance, setCurrentInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesContextImpl

@Deprecated
public FacesContextImpl(javax.portlet.PortletContext portletContext,
                                   javax.portlet.PortletRequest portletRequest,
                                   javax.portlet.PortletResponse portletResponse)
Deprecated. 


FacesContextImpl

@Deprecated
public FacesContextImpl(javax.servlet.ServletContext servletContext,
                                   javax.servlet.ServletRequest servletRequest,
                                   javax.servlet.ServletResponse servletResponse)
Deprecated. 


FacesContextImpl

public FacesContextImpl(ReleaseableExternalContext externalContext,
                        ReleaseableFacesContextFactory facesContextFactory)
Method Detail

getExternalContext

public final ExternalContext getExternalContext()
Specified by:
getExternalContext in class FacesContext

getMaximumSeverity

public final FacesMessage.Severity getMaximumSeverity()
Specified by:
getMaximumSeverity in class FacesContext

getMessages

public final Iterator getMessages()
Specified by:
getMessages in class FacesContext

getApplication

public final Application getApplication()
Specified by:
getApplication in class FacesContext

getClientIdsWithMessages

public final Iterator getClientIdsWithMessages()
Specified by:
getClientIdsWithMessages in class FacesContext

getMessages

public final Iterator getMessages(String clientId)
Specified by:
getMessages in class FacesContext

getRenderKit

public final RenderKit getRenderKit()
Specified by:
getRenderKit in class FacesContext

getRenderResponse

public final boolean getRenderResponse()
Specified by:
getRenderResponse in class FacesContext

getResponseComplete

public final boolean getResponseComplete()
Specified by:
getResponseComplete in class FacesContext

setResponseStream

public final void setResponseStream(ResponseStream responseStream)
Specified by:
setResponseStream in class FacesContext

getResponseStream

public final ResponseStream getResponseStream()
Specified by:
getResponseStream in class FacesContext

setResponseWriter

public final void setResponseWriter(ResponseWriter responseWriter)
Specified by:
setResponseWriter in class FacesContext

getResponseWriter

public final ResponseWriter getResponseWriter()
Specified by:
getResponseWriter in class FacesContext

setViewRoot

public final void setViewRoot(UIViewRoot viewRoot)
Specified by:
setViewRoot in class FacesContext

getViewRoot

public final UIViewRoot getViewRoot()
Specified by:
getViewRoot in class FacesContext

addMessage

public final void addMessage(String clientId,
                             FacesMessage message)
Specified by:
addMessage in class FacesContext

release

public final void release()
Specified by:
release in class FacesContext

renderResponse

public final void renderResponse()
Specified by:
renderResponse in class FacesContext

responseComplete

public final void responseComplete()
Specified by:
responseComplete in class FacesContext

setExternalContext

public final void setExternalContext(ReleaseableExternalContext extContext)

getELContext

public final javax.el.ELContext getELContext()
Overrides:
getELContext in class FacesContext


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