Provides a simple
implementation of FacesContext that can be subclassed by
developers wishing to provide specialized behavior to an existing
FacesContext instance. The default implementation of all
methods is to call through to the wrapped FacesContext
instance.
Usage: extend this class and push the implementation being wrapped to the
constructor and use getWrapped to access the instance being wrapped.
| Modifier and Type | Field and Description |
|---|---|
| private FacesContext |
| Access | Constructor and Description |
|---|---|
| public | |
| public | FacesContextWrapper(FacesContext
The implementation being wrapped. wrapped)If this faces context has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. |
| wrapped | back to summary |
|---|---|
| private FacesContext wrapped | |
| FacesContextWrapper | back to summary |
|---|---|
| public FacesContextWrapper()
Deprecated Use the other constructor taking the implementation being wrapped.
| |
| FacesContextWrapper | back to summary |
|---|---|
| public FacesContextWrapper(FacesContext wrapped) If this faces context has been decorated,
the implementation doing the decorating should push the implementation being wrapped to this constructor.
The
| |
| addMessage | back to summary |
|---|---|
| public void addMessage(String clientId, FacesMessage message) Implements abstract javax. The default behavior of this method is to
call
| |
| getApplication | back to summary |
|---|---|
| public Application getApplication() Implements abstract javax. The default behavior of this method is to
call
| |
| getAttributes | back to summary |
|---|---|
| public Map Overrides javax. The default behavior of this method is to
call
| |
| getClientIdsWithMessages | back to summary |
|---|---|
| public Iterator Implements abstract javax. The default behavior of this method is to
call
| |
| getCurrentPhaseId | back to summary |
|---|---|
| public PhaseId getCurrentPhaseId() Overrides javax. The default behavior of this method is to
call
| |
| getELContext | back to summary |
|---|---|
| public ELContext getELContext() Overrides javax. The default behavior of this method is to
call
| |
| getExceptionHandler | back to summary |
|---|---|
| public ExceptionHandler getExceptionHandler() Overrides javax. The default behavior of this method is to
call
| |
| getExternalContext | back to summary |
|---|---|
| public ExternalContext getExternalContext() Implements abstract javax. The default behavior of this method is to
call
| |
| getMaximumSeverity | back to summary |
|---|---|
| public FacesMessage. Implements abstract javax. The default behavior of this method is to
call
| |
| getMessageList | back to summary |
|---|---|
| public List Overrides javax. The default behavior of this method is to
call
| |
| getMessageList | back to summary |
|---|---|
| public List Overrides javax. The default behavior of this method is to
call
| |
| getMessages | back to summary |
|---|---|
| public Iterator Implements abstract javax. The default behavior of this method is to
call
| |
| getMessages | back to summary |
|---|---|
| public Iterator Implements abstract javax. The default behavior of this method is to
call
| |
| getNamingContainerSeparatorChar | back to summary |
|---|---|
| public char getNamingContainerSeparatorChar() Overrides javax. The default behavior of this method
is to call
| |
| getPartialViewContext | back to summary |
|---|---|
| public PartialViewContext getPartialViewContext() Overrides javax. The default behavior of this method is to
call
| |
| getRenderKit | back to summary |
|---|---|
| public RenderKit getRenderKit() Implements abstract javax. The default behavior of this method is to
call
| |
| getRenderResponse | back to summary |
|---|---|
| public boolean getRenderResponse() Implements abstract javax. The default behavior of this method is to
call
| |
| getResourceLibraryContracts | back to summary |
|---|---|
| public List Overrides javax. The default behavior of this method is to
call
| |
| getResponseComplete | back to summary |
|---|---|
| public boolean getResponseComplete() Implements abstract javax. The default behavior of this method is to
call
| |
| getResponseStream | back to summary |
|---|---|
| public ResponseStream getResponseStream() Implements abstract javax. The default behavior of this method is to
call
| |
| getResponseWriter | back to summary |
|---|---|
| public ResponseWriter getResponseWriter() Implements abstract javax. The default behavior of this method is to
call
| |
| getViewRoot | back to summary |
|---|---|
| public UIViewRoot getViewRoot() Implements abstract javax. The default behavior of this method is to
call
| |
| getWrapped | back to summary |
|---|---|
| public FacesContext getWrapped() Implements javax. Doc from javax. A class that implements this interface uses this method to return an instance of the class being wrapped.
| |
| isPostback | back to summary |
|---|---|
| public boolean isPostback() Overrides javax. The default behavior of this method is to
call
| |
| isProcessingEvents | back to summary |
|---|---|
| public boolean isProcessingEvents() Overrides javax. The default behavior of this method is to
call
| |
| isProjectStage | back to summary |
|---|---|
| public boolean isProjectStage(ProjectStage stage) Overrides javax. The default behavior of this method is to
call
| |
| isReleased | back to summary |
|---|---|
| public boolean isReleased() Overrides javax. The default behavior of this method
is to call
| |
| isValidationFailed | back to summary |
|---|---|
| public boolean isValidationFailed() Overrides javax. The default behavior of this method is to
call
| |
| release | back to summary |
|---|---|
| public void release() Implements abstract javax. The default behavior of this method is to
call
| |
| renderResponse | back to summary |
|---|---|
| public void renderResponse() Implements abstract javax. The default behavior of this method is to
call
| |
| responseComplete | back to summary |
|---|---|
| public void responseComplete() Implements abstract javax. The default behavior of this method is to
call
| |
| setCurrentPhaseId | back to summary |
|---|---|
| public void setCurrentPhaseId(PhaseId currentPhaseId) Overrides javax. The default behavior of this method is to
call
| |
| setExceptionHandler | back to summary |
|---|---|
| public void setExceptionHandler(ExceptionHandler exceptionHandler) Overrides javax. The default behavior of this method is to
call
| |
| setProcessingEvents | back to summary |
|---|---|
| public void setProcessingEvents(boolean processingEvents) Overrides javax. The default behavior of this method is to
call
| |
| setResourceLibraryContracts | back to summary |
|---|---|
| public void setResourceLibraryContracts(List<String> contracts) Overrides javax. The default behavior of this method is to
call
| |
| setResponseStream | back to summary |
|---|---|
| public void setResponseStream(ResponseStream responseStream) Implements abstract javax. The default behavior of this method is to
call
| |
| setResponseWriter | back to summary |
|---|---|
| public void setResponseWriter(ResponseWriter responseWriter) Implements abstract javax. The default behavior of this method is to
call
| |
| setViewRoot | back to summary |
|---|---|
| public void setViewRoot(UIViewRoot root) Implements abstract javax. The default behavior of this method is to
call
| |
| validationFailed | back to summary |
|---|---|
| public void validationFailed() Overrides javax. The default behavior of this method is to
call
| |