org.apache.myfaces.application
Class NavigationHandlerImpl
java.lang.Object
javax.faces.application.NavigationHandler
javax.faces.application.ConfigurableNavigationHandler
org.apache.myfaces.application.NavigationHandlerImpl
public class NavigationHandlerImpl
- extends ConfigurableNavigationHandler
- Version:
- $Revision: 1518455 $ $Date: 2013-08-28 21:49:27 -0500 (Wed, 28 Aug 2013) $
- Author:
- Thomas Spiegl (latest modification by $Author: lu4242 $), Anton Koinov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NavigationHandlerImpl
public NavigationHandlerImpl()
handleNavigation
public void handleNavigation(FacesContext facesContext,
String fromAction,
String outcome)
- Specified by:
handleNavigation
in class NavigationHandler
getNavigationHandlerSupport
protected NavigationHandlerSupport getNavigationHandlerSupport()
- Returns:
- the navigationHandlerSupport
setNavigationHandlerSupport
public void setNavigationHandlerSupport(NavigationHandlerSupport navigationHandlerSupport)
getNavigationCase
public NavigationCase getNavigationCase(FacesContext facesContext,
String fromAction,
String outcome)
- Returns the navigation case that applies for the given action and outcome
- Specified by:
getNavigationCase
in class ConfigurableNavigationHandler
getViewId
public String getViewId(FacesContext context,
String fromAction,
String outcome)
- Returns the view ID that would be created for the given action and outcome
beforeNavigation
public String beforeNavigation(String viewId)
- TODO
Invoked by the navigation handler before the new view component is created.
- Parameters:
viewId
- The view ID to be created
- Returns:
- The view ID that should be used instead. If null, the view ID passed
in will be used without modification.
getNavigationCases
public Map<String,Set<NavigationCase>> getNavigationCases()
- Specified by:
getNavigationCases
in class ConfigurableNavigationHandler
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.