public interface DataTransformer
Modifier and Type | Method and Description |
---|---|
Object |
compile(String expression,
Map<String,Object> parameters)
Compiles given expression into reusable unit.
|
Object |
transform(Object expression,
Map<String,Object> parameters)
Transforms the given expression object (might be compiled expression) using
parameters as contextual information (aka bindings) used during
evaluation of the expression. |
Object compile(String expression, Map<String,Object> parameters)
expression
- language specific expressionparameters
- parameters e.g. imports defined in the processRuntimeException
- in case of unexpected errors during compilationObject transform(Object expression, Map<String,Object> parameters)
parameters
as contextual information (aka bindings) used during
evaluation of the expression.expression
- expression to evaluateparameters
- binding parametersRuntimeException
- in case of unexpected errors during evaluation of the expressionCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.