org.apache.myfaces.context
Class FacesContextWrapper
java.lang.Object
javax.faces.context.FacesContext
org.apache.myfaces.context.FacesContextWrapper
public class FacesContextWrapper
- extends FacesContext
Convenient class to wrap the current FacesContext.
- Version:
- $Revision: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
- Author:
- Manfred Geiler (latest modification by $Author: bommel $), Anton Koinov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacesContextWrapper
public FacesContextWrapper(FacesContext facesContext)
getApplication
public Application getApplication()
- Specified by:
getApplication
in class FacesContext
getAttributes
public Map<Object,Object> getAttributes()
- Overrides:
getAttributes
in class FacesContext
getClientIdsWithMessages
public Iterator<String> getClientIdsWithMessages()
- Specified by:
getClientIdsWithMessages
in class FacesContext
getCurrentPhaseId
public PhaseId getCurrentPhaseId()
- Overrides:
getCurrentPhaseId
in class FacesContext
getExceptionHandler
public ExceptionHandler getExceptionHandler()
- Overrides:
getExceptionHandler
in class FacesContext
getExternalContext
public ExternalContext getExternalContext()
- Specified by:
getExternalContext
in class FacesContext
getMaximumSeverity
public FacesMessage.Severity getMaximumSeverity()
- Specified by:
getMaximumSeverity
in class FacesContext
getMessageList
public List<FacesMessage> getMessageList()
- Overrides:
getMessageList
in class FacesContext
getMessageList
public List<FacesMessage> getMessageList(String clientId)
- Overrides:
getMessageList
in class FacesContext
getMessages
public Iterator<FacesMessage> getMessages()
- Specified by:
getMessages
in class FacesContext
getMessages
public Iterator<FacesMessage> getMessages(String clientId)
- Specified by:
getMessages
in class FacesContext
getPartialViewContext
public PartialViewContext getPartialViewContext()
- Overrides:
getPartialViewContext
in class FacesContext
getRenderKit
public RenderKit getRenderKit()
- Specified by:
getRenderKit
in class FacesContext
getRenderResponse
public boolean getRenderResponse()
- Specified by:
getRenderResponse
in class FacesContext
getResponseComplete
public boolean getResponseComplete()
- Specified by:
getResponseComplete
in class FacesContext
setExceptionHandler
public void setExceptionHandler(ExceptionHandler exceptionHandler)
- Overrides:
setExceptionHandler
in class FacesContext
setResponseStream
public void setResponseStream(ResponseStream responsestream)
- Specified by:
setResponseStream
in class FacesContext
getResponseStream
public ResponseStream getResponseStream()
- Specified by:
getResponseStream
in class FacesContext
setResponseWriter
public void setResponseWriter(ResponseWriter responsewriter)
- Specified by:
setResponseWriter
in class FacesContext
getResponseWriter
public ResponseWriter getResponseWriter()
- Specified by:
getResponseWriter
in class FacesContext
setViewRoot
public void setViewRoot(UIViewRoot viewRoot)
- Specified by:
setViewRoot
in class FacesContext
getViewRoot
public UIViewRoot getViewRoot()
- Specified by:
getViewRoot
in class FacesContext
isPostback
public boolean isPostback()
- Overrides:
isPostback
in class FacesContext
addMessage
public void addMessage(String clientId,
FacesMessage message)
- Specified by:
addMessage
in class FacesContext
release
public void release()
- Specified by:
release
in class FacesContext
renderResponse
public void renderResponse()
- Specified by:
renderResponse
in class FacesContext
responseComplete
public void responseComplete()
- Specified by:
responseComplete
in class FacesContext
getELContext
public javax.el.ELContext getELContext()
- Overrides:
getELContext
in class FacesContext
setCurrentPhaseId
public void setCurrentPhaseId(PhaseId currentPhaseId)
- Overrides:
setCurrentPhaseId
in class FacesContext
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.