Package org.wickedsource.docxstamper.el
Class ExpressionResolver
- java.lang.Object
-
- org.wickedsource.docxstamper.el.ExpressionResolver
-
public class ExpressionResolver extends Object
-
-
Constructor Summary
Constructors Constructor Description ExpressionResolver()ExpressionResolver(EvaluationContextConfigurer evaluationContextConfigurer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectresolveExpression(String expressionString, Object contextRoot)Runs the given expression against the given context object and returns the result of the evaluated expression.
-
-
-
Constructor Detail
-
ExpressionResolver
public ExpressionResolver()
-
ExpressionResolver
public ExpressionResolver(EvaluationContextConfigurer evaluationContextConfigurer)
-
-
Method Detail
-
resolveExpression
public Object resolveExpression(String expressionString, Object contextRoot)
Runs the given expression against the given context object and returns the result of the evaluated expression.- Parameters:
expressionString- the expression to evaluate.contextRoot- the context object against which the expression is evaluated.- Returns:
- the result of the evaluated expression.
-
-