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: 20006 $ $Date: 2017-03-09 17:49:13 -0300 (Thu, 09 Mar 2017) $
-
-
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 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:
ELException
- if the variable could not be resolved.- See Also:
GenericURLResolver.resolveFriendlyPath(WebResource, String)
,GenericURLResolver.encodeSlashes(String)
-
-