Package com.github.dozermapper.core.el
Interface ELEngine
-
- All Known Implementing Classes:
DefaultELEngine,NoopELEngine,TcclELEngine
public interface ELEnginejakarta.el engine to resolve variables and functions See: expression language
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringresolve(String expression)Resolves expressionvoidsetFunction(String prefix, Method method)Sets a function to resolvevoidsetFunction(String prefix, String name, Method method)Sets a function to resolve<T> voidsetVariable(String key, T value)Sets a variable to resolve<T> voidsetVariable(String key, T value, Class<? extends T> type)Sets a variable
-
-
-
Method Detail
-
setVariable
<T> void setVariable(String key, T value)
Sets a variable to resolve- Type Parameters:
T- generic type of value- Parameters:
key- key to storevalue- value to resolve
-
setVariable
<T> void setVariable(String key, T value, Class<? extends T> type)
Sets a variable- Type Parameters:
T- generic type of value- Parameters:
key- key to storevalue- value to resolvetype- type of value
-
setFunction
void setFunction(String prefix, Method method)
Sets a function to resolve- Parameters:
prefix- the prefix of the functionmethod- method to resolve
-
setFunction
void setFunction(String prefix, String name, Method method)
Sets a function to resolve- Parameters:
prefix- the prefix of the functionname- name of methhodmethod- method to resolve
-
-