com.logabit.webtools.navigation
Class NavigationManagerImpl.NavigationLoader
java.lang.Object
com.logabit.webtools.navigation.NavigationManagerImpl.NavigationLoader
- Enclosing class:
- NavigationManagerImpl
public class NavigationManagerImpl.NavigationLoader
- extends java.lang.Object
Helper class which loads the navigation definition and
creates the navigation object out of it.
Includes caching of the navigation definition.
- Version:
- [version]
- Author:
- Stephan Niedermeier
|
Method Summary |
java.lang.String |
getPath()
Returns the path of the navigation definition file. |
Navigation |
loadNavigation()
Creates the navigation object out of the navigation definition file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NavigationManagerImpl.NavigationLoader
public NavigationManagerImpl.NavigationLoader(java.io.File file)
loadNavigation
public Navigation loadNavigation()
throws java.net.MalformedURLException,
org.dom4j.DocumentException,
NavigationConfigurationException
- Creates the navigation object out of the navigation definition file.
A navigation object will only be created if changes occured since
last parsing. Otherwise the cached navigation object will be returned.
- Returns:
- The navigation object.
- Throws:
java.net.MalformedURLException
org.dom4j.DocumentException
NavigationConfigurationException
getPath
public java.lang.String getPath()
- Returns the path of the navigation definition file.
- Returns:
Copyright © 2007. All Rights Reserved.