org.apache.myfaces.test.mock
Class MockFacesContext22

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

public class MockFacesContext22
extends MockFacesContext20

Mock implementation of FacesContext that includes the semantics added by JavaServer Faces 2.0.

Since:
1.0.0
Author:
Leonardo Uribe

Field Summary
protected  boolean _released
           
 
Fields inherited from class org.apache.myfaces.test.mock.MockFacesContext
messages
 
Constructor Summary
MockFacesContext22()
           
MockFacesContext22(javax.faces.context.ExternalContext externalContext)
           
MockFacesContext22(javax.faces.context.ExternalContext externalContext, javax.faces.lifecycle.Lifecycle lifecycle)
           
 
Method Summary
 char getNamingContainerSeparatorChar()
           
 List<String> getResourceLibraryContracts()
           
 boolean isReleased()
           
 void release()
          
 void setResourceLibraryContracts(List<String> contracts)
           
 
Methods inherited from class org.apache.myfaces.test.mock.MockFacesContext20
getAttributes, getCurrentPhaseId, getExceptionHandler, getMessageList, getMessageList, getPartialViewContext, isPostback, isProcessingEvents, isValidationFailed, setCurrentPhaseId, setExceptionHandler, setPostback, setProcessingEvents, validationFailed
 
Methods inherited from class org.apache.myfaces.test.mock.MockFacesContext12
getELContext, setELContext
 
Methods inherited from class org.apache.myfaces.test.mock.MockFacesContext
addMessage, getApplication, getClientIdsWithMessages, getExternalContext, getMaximumSeverity, getMessages, getMessages, getRenderKit, getRenderResponse, getResponseComplete, getResponseStream, getResponseWriter, getViewRoot, renderResponse, responseComplete, setApplication, setCurrentInstance, setExternalContext, setResponseStream, setResponseWriter, setViewRoot
 
Methods inherited from class javax.faces.context.FacesContext
getCurrentInstance, isProjectStage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_released

protected boolean _released
Constructor Detail

MockFacesContext22

public MockFacesContext22()

MockFacesContext22

public MockFacesContext22(javax.faces.context.ExternalContext externalContext)

MockFacesContext22

public MockFacesContext22(javax.faces.context.ExternalContext externalContext,
                          javax.faces.lifecycle.Lifecycle lifecycle)
Method Detail

getResourceLibraryContracts

public List<String> getResourceLibraryContracts()
Overrides:
getResourceLibraryContracts in class javax.faces.context.FacesContext

setResourceLibraryContracts

public void setResourceLibraryContracts(List<String> contracts)
Overrides:
setResourceLibraryContracts in class javax.faces.context.FacesContext

getNamingContainerSeparatorChar

public char getNamingContainerSeparatorChar()
Overrides:
getNamingContainerSeparatorChar in class javax.faces.context.FacesContext

isReleased

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

release

public void release()
Description copied from class: MockFacesContext12

Overrides:
release in class MockFacesContext12


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