org.apache.myfaces.application
Class NavigationHandlerImpl

java.lang.Object
  extended by javax.faces.application.NavigationHandler
      extended by org.apache.myfaces.application.NavigationHandlerImpl

public class NavigationHandlerImpl
extends NavigationHandler

Version:
$Revision: 526934 $ $Date: 2007-04-09 16:54:18 -0500 (Mon, 09 Apr 2007) $
Author:
Thomas Spiegl (latest modification by $Author: mmarinschek $), Anton Koinov

Constructor Summary
NavigationHandlerImpl()
           
 
Method Summary
 String beforeNavigation(String viewId)
          Invoked by the navigation handler before the new view component is created.
 NavigationCase getNavigationCase(FacesContext facesContext, String fromAction, String outcome)
          Returns the NavigationCasethat applies for the given action and outcome
 String getViewId(FacesContext context, String fromAction, String outcome)
          Returns the view ID that would be created for the given action and outcome
 void handleNavigation(FacesContext facesContext, String fromAction, String outcome)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigationHandlerImpl

public NavigationHandlerImpl()
Method Detail

handleNavigation

public void handleNavigation(FacesContext facesContext,
                             String fromAction,
                             String outcome)
Specified by:
handleNavigation in class NavigationHandler

getNavigationCase

public NavigationCase getNavigationCase(FacesContext facesContext,
                                        String fromAction,
                                        String outcome)
Returns the NavigationCasethat applies for the given action and outcome


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)
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.

returns NULL

not implemented/called by Apache MyFaces



Copyright © 2012 The Apache Software Foundation. All Rights Reserved.