com.sun.faces.application
Class NavigationHandlerImpl

java.lang.Object
  extended by javax.faces.application.NavigationHandler
      extended by javax.faces.application.ConfigurableNavigationHandler
          extended by com.sun.faces.application.NavigationHandlerImpl

public class NavigationHandlerImpl
extends javax.faces.application.ConfigurableNavigationHandler

NavigationHandlerImpl is the class that implements default navigation handling. Refer to section 7.4.2 of the specification for more details. PENDING: Make independent of ApplicationAssociate.


Constructor Summary
NavigationHandlerImpl()
          This constructor uses the current ApplicationAssociate instance to obtain the navigation mappings used to make navigational decisions.
 
Method Summary
 javax.faces.application.NavigationCase getNavigationCase(javax.faces.context.FacesContext context, java.lang.String fromAction, java.lang.String outcome)
           
 java.util.Map<java.lang.String,java.util.Set<javax.faces.application.NavigationCase>> getNavigationCases()
           
 void handleNavigation(javax.faces.context.FacesContext context, java.lang.String fromAction, java.lang.String outcome)
           
 
Methods inherited from class javax.faces.application.ConfigurableNavigationHandler
performNavigation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigationHandlerImpl

public NavigationHandlerImpl()
This constructor uses the current ApplicationAssociate instance to obtain the navigation mappings used to make navigational decisions.

Method Detail

getNavigationCase

public javax.faces.application.NavigationCase getNavigationCase(javax.faces.context.FacesContext context,
                                                                java.lang.String fromAction,
                                                                java.lang.String outcome)
Specified by:
getNavigationCase in class javax.faces.application.ConfigurableNavigationHandler
See Also:
ConfigurableNavigationHandler.getNavigationCase(javax.faces.context.FacesContext, String, String)

getNavigationCases

public java.util.Map<java.lang.String,java.util.Set<javax.faces.application.NavigationCase>> getNavigationCases()
Specified by:
getNavigationCases in class javax.faces.application.ConfigurableNavigationHandler
See Also:
ConfigurableNavigationHandler.getNavigationCases()

handleNavigation

public void handleNavigation(javax.faces.context.FacesContext context,
                             java.lang.String fromAction,
                             java.lang.String outcome)
Specified by:
handleNavigation in class javax.faces.application.NavigationHandler
See Also:
NavigationHandler.handleNavigation(javax.faces.context.FacesContext, String, String)


Copyright © 2011 Oracle America, Inc. All Rights Reserved.