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 jakarta.
The default behavior of this method is to call
| |
| getApplication | back to summary |
|---|---|
| public Application getApplication() Implements abstract jakarta.
The default behavior of this method is to call
| |
| getAttributes | back to summary |
|---|---|
| public Map Overrides jakarta.
The default behavior of this method is to call
| |
| getClientIdsWithMessages | back to summary |
|---|---|
| public Iterator Implements abstract jakarta.
The default behavior of this method is to call
| |
| getCurrentPhaseId | back to summary |
|---|---|
| public PhaseId getCurrentPhaseId() Overrides jakarta.
The default behavior of this method is to call
| |
| getELContext | back to summary |
|---|---|
| public ELContext getELContext() Overrides jakarta.
The default behavior of this method is to call
| |
| getExceptionHandler | back to summary |
|---|---|
| public ExceptionHandler getExceptionHandler() Overrides jakarta.
The default behavior of this method is to call
| |
| getExternalContext | back to summary |
|---|---|
| public ExternalContext getExternalContext() Implements abstract jakarta.
The default behavior of this method is to call
| |
| getLifecycle | back to summary |
|---|---|
| public Lifecycle getLifecycle() Implements abstract jakarta.
The default behavior of this method is to call
| |
| getMaximumSeverity | back to summary |
|---|---|
| public FacesMessage. Implements abstract jakarta.
The default behavior of this method is to call
| |
| getMessageList | back to summary |
|---|---|
| public List Overrides jakarta.
The default behavior of this method is to call
| |
| getMessageList | back to summary |
|---|---|
| public List Overrides jakarta.
The default behavior of this method is to call
| |
| getMessages | back to summary |
|---|---|
| public Iterator Implements abstract jakarta.
The default behavior of this method is to call
| |
| getMessages | back to summary |
|---|---|
| public Iterator Implements abstract jakarta.
The default behavior of this method is to call
| |
| getNamingContainerSeparatorChar | back to summary |
|---|---|
| public char getNamingContainerSeparatorChar() Overrides jakarta.
The default behavior of this method is to call
| |
| getPartialViewContext | back to summary |
|---|---|
| public PartialViewContext getPartialViewContext() Overrides jakarta.
The default behavior of this method is to call
| |
| getRenderKit | back to summary |
|---|---|
| public RenderKit getRenderKit() Implements abstract jakarta.
The default behavior of this method is to call
| |
| getRenderResponse | back to summary |
|---|---|
| public boolean getRenderResponse() Implements abstract jakarta.
The default behavior of this method is to call
| |
| getResourceLibraryContracts | back to summary |
|---|---|
| public List Overrides jakarta.
The default behavior of this method is to call
| |
| getResponseComplete | back to summary |
|---|---|
| public boolean getResponseComplete() Implements abstract jakarta.
The default behavior of this method is to call
| |
| getResponseStream | back to summary |
|---|---|
| public ResponseStream getResponseStream() Implements abstract jakarta.
The default behavior of this method is to call
| |
| getResponseWriter | back to summary |
|---|---|
| public ResponseWriter getResponseWriter() Implements abstract jakarta.
The default behavior of this method is to call
| |
| getViewRoot | back to summary |
|---|---|
| public UIViewRoot getViewRoot() Implements abstract jakarta.
The default behavior of this method is to call
| |
| getWrapped | back to summary |
|---|---|
| public FacesContext getWrapped() Implements jakarta. Doc from jakarta. 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 jakarta.
The default behavior of this method is to call
| |
| isProcessingEvents | back to summary |
|---|---|
| public boolean isProcessingEvents() Overrides jakarta.
The default behavior of this method is to call
| |
| isProjectStage | back to summary |
|---|---|
| public boolean isProjectStage(ProjectStage stage) Overrides jakarta.
The default behavior of this method is to call
| |
| isReleased | back to summary |
|---|---|
| public boolean isReleased() Overrides jakarta.
The default behavior of this method is to call
| |
| isValidationFailed | back to summary |
|---|---|
| public boolean isValidationFailed() Overrides jakarta.
The default behavior of this method is to call
| |
| release | back to summary |
|---|---|
| public void release() Implements abstract jakarta.
The default behavior of this method is to call
| |
| renderResponse | back to summary |
|---|---|
| public void renderResponse() Implements abstract jakarta.
The default behavior of this method is to call
| |
| responseComplete | back to summary |
|---|---|
| public void responseComplete() Implements abstract jakarta.
The default behavior of this method is to call
| |
| setCurrentPhaseId | back to summary |
|---|---|
| public void setCurrentPhaseId(PhaseId currentPhaseId) Overrides jakarta.
The default behavior of this method is to call
| |
| setExceptionHandler | back to summary |
|---|---|
| public void setExceptionHandler(ExceptionHandler exceptionHandler) Overrides jakarta.
The default behavior of this method is to call
| |
| setProcessingEvents | back to summary |
|---|---|
| public void setProcessingEvents(boolean processingEvents) Overrides jakarta.
The default behavior of this method is to call
| |
| setResourceLibraryContracts | back to summary |
|---|---|
| public void setResourceLibraryContracts(List<String> contracts) Overrides jakarta.
The default behavior of this method is to call
| |
| setResponseStream | back to summary |
|---|---|
| public void setResponseStream(ResponseStream responseStream) Implements abstract jakarta.
The default behavior of this method is to call
| |
| setResponseWriter | back to summary |
|---|---|
| public void setResponseWriter(ResponseWriter responseWriter) Implements abstract jakarta.
The default behavior of this method is to call
| |
| setViewRoot | back to summary |
|---|---|
| public void setViewRoot(UIViewRoot root) Implements abstract jakarta.
The default behavior of this method is to call
| |
| validationFailed | back to summary |
|---|---|
| public void validationFailed() Overrides jakarta.
The default behavior of this method is to call
| |