|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.application.NavigationHandler
org.apache.myfaces.test.mock.MockNavigationHandler
public class MockNavigationHandler
Mock implementation of NavigationHandler.
| Constructor Summary | |
|---|---|
MockNavigationHandler()
Construct a default instance. |
|
| Method Summary | |
|---|---|
void |
addDestination(String outcome,
String viewId)
Add a outcome-viewId pair to the destinations map. |
void |
handleNavigation(javax.faces.context.FacesContext context,
String action,
String outcome)
Process the specified navigation request. |
| Methods inherited from class javax.faces.application.NavigationHandler |
|---|
handleNavigation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockNavigationHandler()
Construct a default instance.
| Method Detail |
|---|
public void addDestination(String outcome,
String viewId)
Add a outcome-viewId pair to the destinations map.
outcome - Logical outcome stringviewId - Destination view identifier
public void handleNavigation(javax.faces.context.FacesContext context,
String action,
String outcome)
Process the specified navigation request.
handleNavigation in class javax.faces.application.NavigationHandlercontext - FacesContext for the current requestaction - Action method being executedoutcome - Logical outcome from this action method
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||