| java.lang.Object org.mmbase.framework.basic.BasicUrlConverter
BasicUrlConverter | final public class BasicUrlConverter implements UrlConverter(Code) | | Basic implementation of UrlConverter. Essential, should typically be
chained last in ChainedUrlConverter by the framework.
author: Michiel Meeuwissen version: $Id: BasicUrlConverter.java,v 1.9 2008/02/23 14:36:30 michiel Exp $ since: MMBase-1.9 |
Method Summary | |
public boolean | equals(Object o) | public String | getInternalUrl(String page, Map<String, Object> params, Parameters frameworkParameters) | public Parameter[] | getParameterDefinition() | public String | getProcessUrl(String path, Map<String, Object> parameters, Parameters frameworkParameters, boolean escapeAmps) | public static String | getUrl(String page, Map<String, Object> params, HttpServletRequest req, boolean escapeamp) General utility function to create an Url
Parameters: page - servletPath Parameters: params - The query to be added Parameters: req - A request object is needed to determin context-paths and so on. Parameters: writeamp - Wheter amperstands must be XML-escaped. | protected String | getUrl(String path, Map<String, Object> parameters, Parameters frameworkParameters, boolean escapeAmps, boolean action) | public String | getUrl(String path, Map<String, Object> parameters, Parameters frameworkParameters, boolean escapeAmps) | public String | toString() |
getUrl | public static String getUrl(String page, Map<String, Object> params, HttpServletRequest req, boolean escapeamp)(Code) | | General utility function to create an Url
Parameters: page - servletPath Parameters: params - The query to be added Parameters: req - A request object is needed to determin context-paths and so on. Parameters: writeamp - Wheter amperstands must be XML-escaped. Typically needed if the URL is usedin (X)HTML. |
|
|