com.logabit.webtools.navigation
Class NavigationManagerImpl

java.lang.Object
  extended by com.logabit.webtools.navigation.NavigationManagerImpl
All Implemented Interfaces:
NavigationManager, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.parameters.Parameterizable, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe

public class NavigationManagerImpl
extends java.lang.Object
implements NavigationManager, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.parameters.Parameterizable, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe

This class is responsible for creating the navigation object and resolving the navigation entry by given uri.

Author:
Stephan Niedermeier

Nested Class Summary
 class NavigationManagerImpl.NavigationLoader
          Helper class which loads the navigation definition and creates the navigation object out of it.
 
Field Summary
 
Fields inherited from interface com.logabit.webtools.navigation.NavigationManager
ROLE
 
Constructor Summary
NavigationManagerImpl()
           
 
Method Summary
 Navigation getNavigation()
          Returns the object represenation of the navigation.
 Navigation getNavigation(java.lang.String id)
          Returns the object representation of the navigation including the state of the currently called uri.
 void initialize()
           
 void parameterize(org.apache.avalon.framework.parameters.Parameters params)
           
 void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigationManagerImpl

public NavigationManagerImpl()
Method Detail

getNavigation

public Navigation getNavigation()
                         throws NavigationManagerException
Description copied from interface: NavigationManager
Returns the object represenation of the navigation.

Specified by:
getNavigation in interface NavigationManager
Returns:
Throws:
NavigationManagerException

getNavigation

public Navigation getNavigation(java.lang.String id)
                         throws NavigationManagerException
Description copied from interface: NavigationManager
Returns the object representation of the navigation including the state of the currently called uri.

Specified by:
getNavigation in interface NavigationManager
Parameters:
id - the id of the called navigation entry.
Returns:
Navigation
Throws:
NavigationManagerException

initialize

public void initialize()
                throws java.lang.Exception
Specified by:
initialize in interface org.apache.avalon.framework.activity.Initializable
Throws:
java.lang.Exception

parameterize

public void parameterize(org.apache.avalon.framework.parameters.Parameters params)
                  throws org.apache.avalon.framework.parameters.ParameterException
Specified by:
parameterize in interface org.apache.avalon.framework.parameters.Parameterizable
Throws:
org.apache.avalon.framework.parameters.ParameterException

service

public void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
             throws org.apache.avalon.framework.service.ServiceException
Specified by:
service in interface org.apache.avalon.framework.service.Serviceable
Throws:
org.apache.avalon.framework.service.ServiceException


Copyright © 2007. All Rights Reserved.