no.sesat.search.view.navigation
Interface UrlGenerator

All Known Implementing Classes:
AbstractUrlGenerator, BasicUrlGenerator, NewsCaseUrlGenerator, TreeUrlGenerator

public interface UrlGenerator

You should probably not implement this interface directly but extend the AbstractUrlGenerator instead.

Version:
$Id: AbstractUrlGenerator.java 6066 2008-01-30 11:27:42Z ssmiweve $

Method Summary
 String getURL(String value, NavigationConfig.Nav nav)
          Returns the url for the given navigator when navigated on the given value.
 String getURL(String value, NavigationConfig.Nav nav, Map<String,String> extraParameters)
          Returns the url for the given navigator.
 

Method Detail

getURL

String getURL(String value,
              NavigationConfig.Nav nav)
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

String getURL(String value,
              NavigationConfig.Nav nav,
              Map<String,String> extraParameters)
Returns the url for the given navigator. Also include the supplied extra parameters.

Parameters:
value - the value to navigate to.
nav - the navigator to navigate.
extraParameters -
Returns:
the URL including given parameters.


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.