public class FunctionWrapper extends AbstractFunctionWrapper
Constructor and Description |
---|
FunctionWrapper(String functionName,
Class clazz,
String methodName) |
FunctionWrapper(String functionName,
Method method) |
FunctionWrapper(String functionName,
Object object,
String methodName) |
FunctionWrapper(String functionName,
String className,
String methodName) |
Modifier and Type | Method and Description |
---|---|
Object |
execute(Template template,
TemplateContext context,
Object... parameters)
执行函数体
|
getBindingTypes, getNames, getTemplateEngine, setBindingTypes, setTemplateEngine
public Object execute(Template template, TemplateContext context, Object... parameters) throws TemplateException
TemplateFunction
TemplateException
Copyright © 2006–2018 TinyGroup. All rights reserved.