public class StaticFunctionWrapper extends AbstractFunctionWrapper
Constructor and Description |
---|
StaticFunctionWrapper(String functionName,
Class clazz,
Method method) |
StaticFunctionWrapper(String functionName,
Class clazz,
String methodName) |
StaticFunctionWrapper(String functionName,
Object object,
String methodName) |
StaticFunctionWrapper(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 StaticFunctionWrapper(String functionName, Class clazz, String methodName)
public StaticFunctionWrapper(String functionName, String className, String methodName)
public Object execute(Template template, TemplateContext context, Object... parameters) throws TemplateException
TemplateFunction
TemplateException
Copyright © 2006–2018 TinyGroup. All rights reserved.