Class FriendlyUrlResolver
- java.lang.Object
-
- lumis.portal.url.GenericURLResolver
-
- lumis.service.hierarchicalcontent.FriendlyUrlResolver
-
- All Implemented Interfaces:
IURLResolver
public class FriendlyUrlResolver extends GenericURLResolver
Resolves the friendly url for hiearchical contents- Since:
- 8.0.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description FriendlyUrlResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
resolveVariable(java.lang.String variableName, WebResource webResource, java.lang.String currentPath)
Add the Ancestors of the content to the ancestralPath-
Methods inherited from class lumis.portal.url.GenericURLResolver
encodeSlashes, getSlashReplacementString, isParameterVisible, normalize, resolveFriendlyPath
-
-
-
-
Method Detail
-
resolveVariable
protected java.lang.Object resolveVariable(java.lang.String variableName, WebResource webResource, java.lang.String currentPath) throws javax.servlet.jsp.el.ELException
Add the Ancestors of the content to the ancestralPath- Overrides:
resolveVariable
in classGenericURLResolver
- Parameters:
variableName
- the name of the variable to be resolved.webResource
- the web resource.currentPath
- the current path in the friendly path resolution.- Returns:
- the variable value.
- Throws:
javax.servlet.jsp.el.ELException
- if the variable could not be resolved.- See Also:
GenericURLResolver.resolveFriendlyPath(WebResource, String)
,GenericURLResolver.encodeSlashes(String)
-
-