Package org.alfresco.repo.template
Class URLDecodeMethod
- java.lang.Object
-
- org.alfresco.repo.processor.BaseProcessorExtension
-
- org.alfresco.repo.template.BaseTemplateProcessorExtension
-
- org.alfresco.repo.template.URLDecodeMethod
-
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel,freemarker.template.TemplateMethodModelEx,freemarker.template.TemplateModel,org.alfresco.processor.ProcessorExtension,TemplateProcessorExtension
public class URLDecodeMethod extends BaseTemplateProcessorExtension implements freemarker.template.TemplateMethodModelEx
- Since:
- 4.2
Custom FreeMarker Template language method.
Decodes a URL encoded string. The empty string is returned for invalid input values.
Usage: urldecode(String s)
- Author:
- Kevin Roast
-
-
Constructor Summary
Constructors Constructor Description URLDecodeMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectexec(java.util.List args)-
Methods inherited from class org.alfresco.repo.template.BaseTemplateProcessorExtension
getTemplateImageResolver, setTemplateImageResolver
-
Methods inherited from class org.alfresco.repo.processor.BaseProcessorExtension
getExtensionName, register, setExtensionName, setProcessor
-
-
-
-
Method Detail
-
exec
public java.lang.Object exec(java.util.List args) throws freemarker.template.TemplateModelException- Specified by:
execin interfacefreemarker.template.TemplateMethodModel- Specified by:
execin interfacefreemarker.template.TemplateMethodModelEx- Throws:
freemarker.template.TemplateModelException- See Also:
TemplateMethodModel.exec(java.util.List)
-
-