public class TagLibToDirectiveAndFunction
extends java.lang.Object
implements freemarker.template.TemplateDirectiveModel, freemarker.template.TemplateMethodModelEx
| Constructor and Description |
|---|
TagLibToDirectiveAndFunction(java.lang.String namespace,
groovy.lang.GroovyObject tagLibInstance,
java.lang.String tagName,
groovy.lang.Closure tagInstance,
boolean hasReturnValue) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
exec(java.util.List arguments) |
void |
execute(freemarker.core.Environment env,
java.util.Map params,
freemarker.template.TemplateModel[] loopVars,
freemarker.template.TemplateDirectiveBody body) |
protected java.util.Map |
unwrapParams(java.util.Map params,
java.lang.Boolean translateReservedWords) |
protected java.util.Map |
unwrapParams(freemarker.template.TemplateHashModelEx params,
java.lang.Boolean translateReservedWords) |
public TagLibToDirectiveAndFunction(java.lang.String namespace,
groovy.lang.GroovyObject tagLibInstance,
java.lang.String tagName,
groovy.lang.Closure tagInstance,
boolean hasReturnValue)
public java.lang.Object exec(java.util.List arguments)
throws freemarker.template.TemplateModelException
exec in interface freemarker.template.TemplateMethodModelexec in interface freemarker.template.TemplateMethodModelExfreemarker.template.TemplateModelExceptionpublic 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
execute in interface freemarker.template.TemplateDirectiveModelfreemarker.template.TemplateExceptionjava.io.IOExceptionprotected java.util.Map unwrapParams(freemarker.template.TemplateHashModelEx params,
java.lang.Boolean translateReservedWords)
throws freemarker.template.TemplateModelException
freemarker.template.TemplateModelExceptionprotected java.util.Map unwrapParams(java.util.Map params,
java.lang.Boolean translateReservedWords)
throws freemarker.template.TemplateModelException
freemarker.template.TemplateModelException