org.apache.myfaces.trinidadbuild.test
Class MockFacesContext12

java.lang.Object
  extended by javax.faces.context.FacesContext
      extended by org.apache.shale.test.mock.MockFacesContext
          extended by org.apache.myfaces.trinidadbuild.test.MockFacesContext12

public class MockFacesContext12
extends org.apache.shale.test.mock.MockFacesContext


Field Summary
protected  MockELContext elContext
           
 
Constructor Summary
MockFacesContext12(javax.faces.application.Application application)
           
MockFacesContext12(javax.faces.context.ExternalContext ec, javax.faces.lifecycle.Lifecycle lifecycle, javax.faces.application.Application application)
           
 
Method Summary
protected  MockELContext createELContext(javax.faces.application.Application application)
           
 javax.faces.application.Application getApplication()
           
 Map<Object,Object> getAttributes()
           
 javax.faces.event.PhaseId getCurrentPhaseId()
           
 javax.el.ELContext getELContext()
           
 javax.faces.context.PartialViewContext getPartialViewContext()
           
 void setCurrentPhaseId(javax.faces.event.PhaseId phaseId)
           
 
Methods inherited from class org.apache.shale.test.mock.MockFacesContext
addMessage, getClientIdsWithMessages, getExternalContext, getMaximumSeverity, getMessages, getMessages, getRenderKit, getRenderResponse, getResponseComplete, getResponseStream, getResponseWriter, getViewRoot, release, renderResponse, responseComplete, setApplication, setCurrentInstance, setExternalContext, setResponseStream, setResponseWriter, setViewRoot
 
Methods inherited from class javax.faces.context.FacesContext
getCurrentInstance, getExceptionHandler, getMessageList, getMessageList, isPostback, isProcessingEvents, isProjectStage, isValidationFailed, setExceptionHandler, setProcessingEvents, validationFailed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elContext

protected MockELContext elContext
Constructor Detail

MockFacesContext12

public MockFacesContext12(javax.faces.context.ExternalContext ec,
                          javax.faces.lifecycle.Lifecycle lifecycle,
                          javax.faces.application.Application application)

MockFacesContext12

public MockFacesContext12(javax.faces.application.Application application)
Method Detail

getCurrentPhaseId

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

setCurrentPhaseId

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

getELContext

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

createELContext

protected MockELContext createELContext(javax.faces.application.Application application)

getAttributes

public Map<Object,Object> getAttributes()
Overrides:
getAttributes in class javax.faces.context.FacesContext

getPartialViewContext

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

getApplication

public javax.faces.application.Application getApplication()
Overrides:
getApplication in class org.apache.shale.test.mock.MockFacesContext


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