org.jboss.gravel.navigation.action
Class NavActionListenerImpl

java.lang.Object
  extended by org.jboss.gravel.navigation.action.NavActionListenerImpl
All Implemented Interfaces:
Serializable, EventListener, javax.faces.event.ActionListener, javax.faces.event.FacesListener, NavActionListener

public final class NavActionListenerImpl
extends Object
implements NavActionListener

See Also:
Serialized Form

Constructor Summary
NavActionListenerImpl()
           
 
Method Summary
 void addRule(String name, NavigationExecutor executor)
           
 NavigationExecutor getRule(String name)
           
 boolean hasRule(String name)
           
 void processAction(javax.faces.event.ActionEvent actionEvent)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavActionListenerImpl

public NavActionListenerImpl()
Method Detail

addRule

public void addRule(String name,
                    NavigationExecutor executor)
Specified by:
addRule in interface NavActionListener

processAction

public void processAction(javax.faces.event.ActionEvent actionEvent)
                   throws javax.faces.event.AbortProcessingException
Specified by:
processAction in interface javax.faces.event.ActionListener
Throws:
javax.faces.event.AbortProcessingException

hasRule

public boolean hasRule(String name)
Specified by:
hasRule in interface NavActionListener

getRule

public NavigationExecutor getRule(String name)
Specified by:
getRule in interface NavActionListener