public interface ELEngine
| Modifier and Type | Method and Description |
|---|---|
String |
resolve(String expression)
Resolves expression
|
void |
setFunction(String prefix,
Method method)
Sets a function to resolve
|
void |
setFunction(String prefix,
String name,
Method method)
Sets a function to resolve
|
<T> void |
setVariable(String key,
T value)
Sets a variable to resolve
|
<T> void |
setVariable(String key,
T value,
Class<? extends T> type)
Sets a variable
|
<T> void setVariable(String key, T value)
T - generic type of valuekey - key to storevalue - value to resolve<T> void setVariable(String key, T value, Class<? extends T> type)
T - generic type of valuekey - key to storevalue - value to resolvetype - type of valuevoid setFunction(String prefix, Method method)
prefix - the prefix of the functionmethod - method to resolvevoid setFunction(String prefix, String name, Method method)
prefix - the prefix of the functionname - name of methhodmethod - method to resolveCopyright © 2005–2021 dozer. All rights reserved.