com.sun.faces.context
Class FacesContextImpl

java.lang.Object
  extended by javax.faces.context.FacesContext
      extended by com.sun.faces.context.FacesContextImpl

public class FacesContextImpl
extends javax.faces.context.FacesContext


Constructor Summary
FacesContextImpl(javax.faces.context.ExternalContext ec, javax.faces.lifecycle.Lifecycle lifecycle)
           
 
Method Summary
 void addMessage(java.lang.String clientId, javax.faces.application.FacesMessage message)
           
 javax.faces.application.Application getApplication()
           
 java.util.Map<java.lang.Object,java.lang.Object> getAttributes()
           
 java.util.Iterator<java.lang.String> getClientIdsWithMessages()
           
 javax.faces.event.PhaseId getCurrentPhaseId()
           
static javax.faces.context.FacesContext getDefaultFacesContext()
           
 javax.el.ELContext getELContext()
           
 javax.faces.context.ExceptionHandler getExceptionHandler()
           
 javax.faces.context.ExternalContext getExternalContext()
           
 javax.faces.application.FacesMessage.Severity getMaximumSeverity()
           
 java.util.List<javax.faces.application.FacesMessage> getMessageList()
           
 java.util.List<javax.faces.application.FacesMessage> getMessageList(java.lang.String clientId)
           
 java.util.Iterator<javax.faces.application.FacesMessage> getMessages()
           
 java.util.Iterator<javax.faces.application.FacesMessage> getMessages(java.lang.String clientId)
           
 javax.faces.context.PartialViewContext getPartialViewContext()
           
 javax.faces.render.RenderKit getRenderKit()
           
 boolean getRenderResponse()
           
 boolean getResponseComplete()
           
 javax.faces.context.ResponseStream getResponseStream()
           
 javax.faces.context.ResponseWriter getResponseWriter()
           
 javax.faces.component.UIViewRoot getViewRoot()
           
 boolean isPostback()
           
 boolean isReleased()
           
 boolean isValidationFailed()
           
 void release()
           
 void renderResponse()
           
 void responseComplete()
           
 void setCurrentPhaseId(javax.faces.event.PhaseId currentPhaseId)
           
 void setExceptionHandler(javax.faces.context.ExceptionHandler exceptionHandler)
           
 void setResponseStream(javax.faces.context.ResponseStream responseStream)
           
 void setResponseWriter(javax.faces.context.ResponseWriter responseWriter)
           
 void setViewRoot(javax.faces.component.UIViewRoot root)
           
 void validationFailed()
           
 
Methods inherited from class javax.faces.context.FacesContext
getCurrentInstance, isProcessingEvents, isProjectStage, setCurrentInstance, setProcessingEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesContextImpl

public FacesContextImpl(javax.faces.context.ExternalContext ec,
                        javax.faces.lifecycle.Lifecycle lifecycle)
Method Detail

getExternalContext

public javax.faces.context.ExternalContext getExternalContext()
Specified by:
getExternalContext in class javax.faces.context.FacesContext
See Also:
FacesContext.getExternalContext()

getApplication

public javax.faces.application.Application getApplication()
Specified by:
getApplication in class javax.faces.context.FacesContext
See Also:
FacesContext.getApplication()

getExceptionHandler

public javax.faces.context.ExceptionHandler getExceptionHandler()
Overrides:
getExceptionHandler in class javax.faces.context.FacesContext
See Also:
FacesContext.getExceptionHandler()

setExceptionHandler

public void setExceptionHandler(javax.faces.context.ExceptionHandler exceptionHandler)
Overrides:
setExceptionHandler in class javax.faces.context.FacesContext
See Also:
FacesContext.setExceptionHandler(javax.faces.context.ExceptionHandler)

getPartialViewContext

public javax.faces.context.PartialViewContext getPartialViewContext()
Overrides:
getPartialViewContext in class javax.faces.context.FacesContext
See Also:
FacesContext.getPartialViewContext()

isPostback

public boolean isPostback()
Overrides:
isPostback in class javax.faces.context.FacesContext
See Also:
FacesContext.isPostback()

isReleased

public boolean isReleased()
Overrides:
isReleased in class javax.faces.context.FacesContext
See Also:
FacesContext.isReleased()

getAttributes

public java.util.Map<java.lang.Object,java.lang.Object> getAttributes()
Overrides:
getAttributes in class javax.faces.context.FacesContext
See Also:
FacesContext.getAttributes()

getELContext

public javax.el.ELContext getELContext()
Overrides:
getELContext in class javax.faces.context.FacesContext
See Also:
FacesContext.getELContext()

getClientIdsWithMessages

public java.util.Iterator<java.lang.String> getClientIdsWithMessages()
Specified by:
getClientIdsWithMessages in class javax.faces.context.FacesContext
See Also:
FacesContext.getClientIdsWithMessages()

getMaximumSeverity

public javax.faces.application.FacesMessage.Severity getMaximumSeverity()
Specified by:
getMaximumSeverity in class javax.faces.context.FacesContext
See Also:
FacesContext.getMaximumSeverity()

getMessageList

public java.util.List<javax.faces.application.FacesMessage> getMessageList()
Overrides:
getMessageList in class javax.faces.context.FacesContext
See Also:
FacesContext.getMessageList()

getMessageList

public java.util.List<javax.faces.application.FacesMessage> getMessageList(java.lang.String clientId)
Overrides:
getMessageList in class javax.faces.context.FacesContext
See Also:
FacesContext.getMessageList(String)

getMessages

public java.util.Iterator<javax.faces.application.FacesMessage> getMessages()
Specified by:
getMessages in class javax.faces.context.FacesContext
See Also:
FacesContext.getMessages()

getMessages

public java.util.Iterator<javax.faces.application.FacesMessage> getMessages(java.lang.String clientId)
Specified by:
getMessages in class javax.faces.context.FacesContext
See Also:
FacesContext.getMessages(String)

getRenderKit

public javax.faces.render.RenderKit getRenderKit()
Specified by:
getRenderKit in class javax.faces.context.FacesContext
See Also:
FacesContext.getRenderKit()

getResponseStream

public javax.faces.context.ResponseStream getResponseStream()
Specified by:
getResponseStream in class javax.faces.context.FacesContext
See Also:
FacesContext.getResponseStream()

setResponseStream

public void setResponseStream(javax.faces.context.ResponseStream responseStream)
Specified by:
setResponseStream in class javax.faces.context.FacesContext
See Also:
FacesContext.setResponseStream(javax.faces.context.ResponseStream)

getViewRoot

public javax.faces.component.UIViewRoot getViewRoot()
Specified by:
getViewRoot in class javax.faces.context.FacesContext
See Also:
FacesContext.getViewRoot()

setViewRoot

public void setViewRoot(javax.faces.component.UIViewRoot root)
Specified by:
setViewRoot in class javax.faces.context.FacesContext
See Also:
FacesContext.setViewRoot(javax.faces.component.UIViewRoot)

getResponseWriter

public javax.faces.context.ResponseWriter getResponseWriter()
Specified by:
getResponseWriter in class javax.faces.context.FacesContext
See Also:
FacesContext.getResponseWriter()

setResponseWriter

public void setResponseWriter(javax.faces.context.ResponseWriter responseWriter)
Specified by:
setResponseWriter in class javax.faces.context.FacesContext
See Also:
FacesContext.setResponseWriter(javax.faces.context.ResponseWriter)

addMessage

public void addMessage(java.lang.String clientId,
                       javax.faces.application.FacesMessage message)
Specified by:
addMessage in class javax.faces.context.FacesContext
See Also:
FacesContext.addMessage(String, javax.faces.application.FacesMessage)

getCurrentPhaseId

public javax.faces.event.PhaseId getCurrentPhaseId()
Overrides:
getCurrentPhaseId in class javax.faces.context.FacesContext
See Also:
FacesContext.getCurrentPhaseId()

setCurrentPhaseId

public void setCurrentPhaseId(javax.faces.event.PhaseId currentPhaseId)
Overrides:
setCurrentPhaseId in class javax.faces.context.FacesContext
See Also:
FacesContext.setCurrentPhaseId(javax.faces.event.PhaseId)

release

public void release()
Specified by:
release in class javax.faces.context.FacesContext
See Also:
FacesContext.release()

renderResponse

public void renderResponse()
Specified by:
renderResponse in class javax.faces.context.FacesContext
See Also:
FacesContext.renderResponse()

responseComplete

public void responseComplete()
Specified by:
responseComplete in class javax.faces.context.FacesContext
See Also:
FacesContext.responseComplete()

validationFailed

public void validationFailed()
Overrides:
validationFailed in class javax.faces.context.FacesContext
See Also:
FacesContext.validationFailed()

getRenderResponse

public boolean getRenderResponse()
Specified by:
getRenderResponse in class javax.faces.context.FacesContext
See Also:
FacesContext.getRenderResponse()

getResponseComplete

public boolean getResponseComplete()
Specified by:
getResponseComplete in class javax.faces.context.FacesContext
See Also:
FacesContext.getResponseComplete()

isValidationFailed

public boolean isValidationFailed()
Overrides:
isValidationFailed in class javax.faces.context.FacesContext
See Also:
FacesContext.isValidationFailed()

getDefaultFacesContext

public static javax.faces.context.FacesContext getDefaultFacesContext()


Copyright © 2011 Oracle America, Inc. All Rights Reserved.