当前页面: 
在线文档首页 > 
JBoss Seam  1.1.0 API 英文版文档
MockFacesContext (JBoss Seam API Documentation) - JBoss Seam  1.1.0 API 英文版文档
org.jboss.seam.mock
Class MockFacesContext
java.lang.Object
   javax.faces.context.FacesContext
javax.faces.context.FacesContext
       org.jboss.seam.mock.MockFacesContext
org.jboss.seam.mock.MockFacesContext
- public class MockFacesContext 
- extends javax.faces.context.FacesContext
- Version:
- $Revision: 1.10 $
- Author:
- Gavin King, Thomas Heute
| Constructor Summary | 
| MockFacesContext(javax.faces.context.ExternalContext externalContext,
                 javax.faces.application.Application application)
 | 
 
 
| 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 | 
 
MockFacesContext
public MockFacesContext(javax.faces.context.ExternalContext externalContext,
                        javax.faces.application.Application application)
getApplication
public javax.faces.application.Application getApplication()
- 
- Specified by:
- getApplicationin class- javax.faces.context.FacesContext
 
- 
 
getClientIdsWithMessages
public Iterator getClientIdsWithMessages()
- 
- Specified by:
- getClientIdsWithMessagesin class- javax.faces.context.FacesContext
 
- 
 
getExternalContext
public javax.faces.context.ExternalContext getExternalContext()
- 
- Specified by:
- getExternalContextin class- javax.faces.context.FacesContext
 
- 
 
getMaximumSeverity
public javax.faces.application.FacesMessage.Severity getMaximumSeverity()
- 
- Specified by:
- getMaximumSeverityin class- javax.faces.context.FacesContext
 
- 
 
getMessages
public Iterator getMessages()
- 
- Specified by:
- getMessagesin class- javax.faces.context.FacesContext
 
- 
 
getMessages
public Iterator getMessages(String clientId)
- 
- Specified by:
- getMessagesin class- javax.faces.context.FacesContext
 
- 
 
getRenderKit
public javax.faces.render.RenderKit getRenderKit()
- 
- Specified by:
- getRenderKitin class- javax.faces.context.FacesContext
 
- 
 
getRenderResponse
public boolean getRenderResponse()
- 
- Specified by:
- getRenderResponsein class- javax.faces.context.FacesContext
 
- 
 
getResponseComplete
public boolean getResponseComplete()
- 
- Specified by:
- getResponseCompletein class- javax.faces.context.FacesContext
 
- 
 
getResponseStream
public javax.faces.context.ResponseStream getResponseStream()
- 
- Specified by:
- getResponseStreamin class- javax.faces.context.FacesContext
 
- 
 
setResponseStream
public void setResponseStream(javax.faces.context.ResponseStream stream)
- 
- Specified by:
- setResponseStreamin class- javax.faces.context.FacesContext
 
- 
 
getResponseWriter
public javax.faces.context.ResponseWriter getResponseWriter()
- 
- Specified by:
- getResponseWriterin class- javax.faces.context.FacesContext
 
- 
 
setResponseWriter
public void setResponseWriter(javax.faces.context.ResponseWriter writer)
- 
- Specified by:
- setResponseWriterin class- javax.faces.context.FacesContext
 
- 
 
getViewRoot
public javax.faces.component.UIViewRoot getViewRoot()
- 
- Specified by:
- getViewRootin class- javax.faces.context.FacesContext
 
- 
 
setViewRoot
public void setViewRoot(javax.faces.component.UIViewRoot vr)
- 
- Specified by:
- setViewRootin class- javax.faces.context.FacesContext
 
- 
 
addMessage
public void addMessage(String clientId,
                       javax.faces.application.FacesMessage msg)
- 
- Specified by:
- addMessagein class- javax.faces.context.FacesContext
 
- 
 
release
public void release()
- 
- Specified by:
- releasein class- javax.faces.context.FacesContext
 
- 
 
renderResponse
public void renderResponse()
- 
- Specified by:
- renderResponsein class- javax.faces.context.FacesContext
 
- 
 
responseComplete
public void responseComplete()
- 
- Specified by:
- responseCompletein class- javax.faces.context.FacesContext
 
- 
 
setCurrent
public MockFacesContext setCurrent()
- 
 
createViewRoot
public MockFacesContext createViewRoot()
-