Package grails.plugin.freemarker
Class TagLibToDirectiveAndFunction
- java.lang.Object
-
- grails.plugin.freemarker.TagLibToDirectiveAndFunction
-
- All Implemented Interfaces:
freemarker.template.TemplateDirectiveModel,freemarker.template.TemplateMethodModel,freemarker.template.TemplateMethodModelEx,freemarker.template.TemplateModel
public class TagLibToDirectiveAndFunction extends java.lang.Object implements freemarker.template.TemplateDirectiveModel, freemarker.template.TemplateMethodModelEx
-
-
Constructor Summary
Constructors Constructor Description TagLibToDirectiveAndFunction(java.lang.String namespace, groovy.lang.GroovyObject tagLibInstance, java.lang.String tagName, groovy.lang.Closure tagInstance, boolean hasReturnValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectexec(java.util.List arguments)voidexecute(freemarker.core.Environment env, java.util.Map params, freemarker.template.TemplateModel[] loopVars, freemarker.template.TemplateDirectiveBody body)protected java.util.MapunwrapParams(freemarker.template.TemplateHashModelEx params, java.lang.Boolean translateReservedWords)protected java.util.MapunwrapParams(java.util.Map params, java.lang.Boolean translateReservedWords)
-
-
-
Method Detail
-
exec
public java.lang.Object exec(java.util.List arguments) throws freemarker.template.TemplateModelException- Specified by:
execin interfacefreemarker.template.TemplateMethodModel- Specified by:
execin interfacefreemarker.template.TemplateMethodModelEx- Throws:
freemarker.template.TemplateModelException
-
execute
public void execute(freemarker.core.Environment env, java.util.Map params, freemarker.template.TemplateModel[] loopVars, freemarker.template.TemplateDirectiveBody body) throws freemarker.template.TemplateException, java.io.IOException- Specified by:
executein interfacefreemarker.template.TemplateDirectiveModel- Throws:
freemarker.template.TemplateExceptionjava.io.IOException
-
unwrapParams
protected java.util.Map unwrapParams(freemarker.template.TemplateHashModelEx params, java.lang.Boolean translateReservedWords) throws freemarker.template.TemplateModelException- Throws:
freemarker.template.TemplateModelException
-
unwrapParams
protected java.util.Map unwrapParams(java.util.Map params, java.lang.Boolean translateReservedWords) throws freemarker.template.TemplateModelException- Throws:
freemarker.template.TemplateModelException
-
-