Class UpperCaseDirective
java.lang.Object
com.kazurayam.materialstore.freemarker.UpperCaseDirective
- All Implemented Interfaces:
freemarker.template.TemplateDirectiveModel
,freemarker.template.TemplateModel
public class UpperCaseDirective
extends Object
implements freemarker.template.TemplateDirectiveModel
A Sample Custom Directive explated in
https://freemarker.apache.org/docs/pgui_datamodel_directive.html
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
UpperCaseDirective
public UpperCaseDirective()
-
-
Method Details
-
execute
public void execute(freemarker.core.Environment env, Map params, freemarker.template.TemplateModel[] loopVars, freemarker.template.TemplateDirectiveBody body) throws freemarker.template.TemplateException, IOException - Specified by:
execute
in interfacefreemarker.template.TemplateDirectiveModel
- Throws:
freemarker.template.TemplateException
IOException
-