org.apache.shale.test.mock
Class MockFacesContext12
java.lang.Object
javax.faces.context.FacesContext
org.apache.shale.test.mock.MockFacesContext
org.apache.shale.test.mock.MockFacesContext12
public class MockFacesContext12
- extends MockFacesContext
Mock implementation of FacesContext
that includes the semantics
added by JavaServer Faces 1.2.
$Id: MockFacesContext12.java 464373 2006-10-16 04:21:54Z rahul $
- Since:
- 1.0.4
Method Summary |
javax.el.ELContext |
getELContext()
|
void |
release()
|
void |
setELContext(javax.el.ELContext elContext)
Set the ELContext instance for this instance. |
Methods inherited from class org.apache.shale.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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockFacesContext12
public MockFacesContext12()
MockFacesContext12
public MockFacesContext12(javax.faces.context.ExternalContext externalContext)
MockFacesContext12
public MockFacesContext12(javax.faces.context.ExternalContext externalContext,
javax.faces.lifecycle.Lifecycle lifecycle)
setELContext
public void setELContext(javax.el.ELContext elContext)
Set the ELContext
instance for this instance.
- Parameters:
elContext
- The new ELContext
getELContext
public javax.el.ELContext getELContext()
-
- Overrides:
getELContext
in class javax.faces.context.FacesContext
release
public void release()
-
- Overrides:
release
in class MockFacesContext
Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.