public class SimpleExpressionContext extends ExpressionContext
Constructor and Description |
---|
SimpleExpressionContext() |
Modifier and Type | Method and Description |
---|---|
Object |
addVariable(String name,
Object value)
Adds a variable to the expression context.
|
Map<String,Object> |
getContext()
Returns the context map.
|
Object |
resolveVariable(String name)
Resolves a variable name to its value.
|
public Object addVariable(String name, Object value)
name
- key with which the specified value is to be associatedvalue
- value to be associated with the specified keypublic Object resolveVariable(String name)
ExpressionContext
resolveVariable
in class ExpressionContext
name
- the variable nameCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.