NavigationHandlerWrapper provides a simple implementation of
NavigationHandler that can be subclassed by developers wishing to provide specialized behavior to an existing
NavigationHandler instance. The default implementation of all methods is to call through to the wrapped
NavigationHandler 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 NavigationHandler |
| Access | Constructor and Description |
|---|---|
| public | NavigationHandlerWrapper()
Deprecated
Use the other constructor taking the implementation being wrapped.
|
| public | NavigationHandlerWrapper(NavigationHandler
The implementation being wrapped. wrapped)If this navigation handler has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public NavigationHandler | getWrapped()
Implements jakarta. A class that implements this interface uses this method to return an instance of the class being wrapped. |
| public void | handleNavigation(FacesContext
The context, String FacesContext for the current requestThe action binding expression that was evaluated to retrieve the specified outcome, or
fromAction, String null if the outcome was acquired by some other meansThe logical outcome returned by a previous invoked application action (which may be outcome)null)Implements abstract jakarta.
Perform navigation processing based on the state information in the
specified |
| public void | handleNavigation(FacesContext
The context, String FacesContext for the current requestThe action binding expression that was evaluated to retrieve the specified outcome, or
fromAction, String null if the outcome was acquired by some other meansThe logical outcome returned by a previous invoked application action (which may be outcome, String null)The defining document id of the flow into which this navigation will cause entry. toFlowDocumentId)Overrides jakarta.
Overloaded variant of
|
| wrapped | back to summary |
|---|---|
| private NavigationHandler wrapped | |
| NavigationHandlerWrapper | back to summary |
|---|---|
| public NavigationHandlerWrapper()
Deprecated Use the other constructor taking the implementation being wrapped.
| |
| NavigationHandlerWrapper | back to summary |
|---|---|
| public NavigationHandlerWrapper(NavigationHandler wrapped)
If this navigation handler has been decorated, the implementation doing the decorating should push the implementation
being wrapped to this constructor. The
| |
| getWrapped | back to summary |
|---|---|
| public NavigationHandler getWrapped() Implements jakarta. Doc from jakarta. A class that implements this interface uses this method to return an instance of the class being wrapped.
| |
| handleNavigation | back to summary |
|---|---|
| public void handleNavigation(FacesContext context, String fromAction, String outcome) Implements abstract jakarta. Doc from jakarta.
Perform navigation processing based on the state information in the
specified
If the implementation class also extends
This method must set the render targets (used in partial rendering) to
| |
| handleNavigation | back to summary |
|---|---|
| public void handleNavigation(FacesContext context, String fromAction, String outcome, String toFlowDocumentId) Overrides jakarta. Doc from jakarta.
Overloaded variant of
| |