Class UrlEncodeMethod
java.lang.Object
org.springframework.extensions.webscripts.UrlEncodeMethod
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel,freemarker.template.TemplateMethodModelEx,freemarker.template.TemplateModel
Custom FreeMarker Template language method.
Encode a URL Path.
Usage: pathencode(String url)
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UrlEncodeMethod
public UrlEncodeMethod()
-
-
Method Details
-
exec
- Specified by:
execin interfacefreemarker.template.TemplateMethodModel- Specified by:
execin interfacefreemarker.template.TemplateMethodModelEx- Throws:
freemarker.template.TemplateModelException- See Also:
-
TemplateMethodModel.exec(java.util.List)
-