public class MapExpressionMethods
extends java.lang.Object
Map.| Constructor and Description |
|---|
MapExpressionMethods()
Instantiates a new map expression methods.
|
MapExpressionMethods(EvaluationContext evaluationContext)
Instantiates a new map expression methods with
a
EvaluationContext which is expected to be
a StandardEvaluationContext. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getValue(Expression expression,
java.util.Map<java.lang.String,java.lang.Object> map,
java.lang.Class<T> desiredResultType)
Gets the value.
|
public MapExpressionMethods()
public MapExpressionMethods(EvaluationContext evaluationContext)
EvaluationContext which is expected to be
a StandardEvaluationContext.evaluationContext - the passed evaluation contextpublic <T> T getValue(Expression expression, java.util.Map<java.lang.String,java.lang.Object> map, java.lang.Class<T> desiredResultType) throws EvaluationException
T - the generic return typeexpression - the expressionmap - the map to evaluate againstdesiredResultType - the desired result typeEvaluationException - the evaluation exception