net.sourceforge.smile.context
Class NavigationHandlerImpl
java.lang.Object
javax.faces.application.NavigationHandler
net.sourceforge.smile.context.NavigationHandlerImpl
- public class NavigationHandlerImpl
- extends javax.faces.application.NavigationHandler
- Author:
- codehawk
Default implementation for the NavigationHandler.
Method Summary |
void |
addNavigationRule(java.lang.String fromTreeId,
java.lang.String fromActionRef,
java.lang.String fromOutcome,
java.lang.String toTreeId)
|
void |
handleNavigation(javax.faces.context.FacesContext facesContext,
java.lang.String actionRef,
java.lang.String outcome)
|
int |
matchPattern(java.lang.String pattern,
java.lang.String checkMe)
Detects if, and how well the pattern matches the given string. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NavigationHandlerImpl
public NavigationHandlerImpl()
handleNavigation
public void handleNavigation(javax.faces.context.FacesContext facesContext,
java.lang.String actionRef,
java.lang.String outcome)
- See Also:
NavigationHandler.handleNavigation(javax.faces.context.FacesContext, java.lang.String, java.lang.String)
addNavigationRule
public void addNavigationRule(java.lang.String fromTreeId,
java.lang.String fromActionRef,
java.lang.String fromOutcome,
java.lang.String toTreeId)
matchPattern
public int matchPattern(java.lang.String pattern,
java.lang.String checkMe)
- Detects if, and how well the pattern matches the given string.
- Parameters:
pattern
- checkMe
-
- Returns:
- -1 if no match, a number >= 0 indicating how many letters are an exact match.