no.sesat.search.view.navigation
Class TreeUrlGenerator
java.lang.Object
no.sesat.search.view.navigation.AbstractUrlGenerator
no.sesat.search.view.navigation.TreeUrlGenerator
- All Implemented Interfaces:
- UrlGenerator
public class TreeUrlGenerator
- extends AbstractUrlGenerator
This class is a url generator for the TreeNavigationController class.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeUrlGenerator
public TreeUrlGenerator(DataModel dataModel,
NavigationConfig.Navigation navigation,
NavigationState state)
getURL
public String getURL(String value,
NavigationConfig.Nav nav)
- Description copied from interface:
UrlGenerator
- Returns the url for the given navigator when navigated on the given value.
- Parameters:
value - the value to navigate to.nav - the navigator to navigate.
- Returns:
- the URL.
getURL
public String getURL(String value,
NavigationConfig.Nav nav,
Map<String,String> extraParameters)
- Generate url for the given TreeNavigationConfiguration.
- Parameters:
value - nav - extraParameters -
- Returns:
- The url
generateUrlParameter
public static String generateUrlParameter(String name,
String value)
- Generate a string containing the name and the value as a correct encoded url part.
- Parameters:
name - value -
- Returns:
Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.