public class MapBasedValueSource extends Object implements FixedValueSource
Constructor and Description |
---|
MapBasedValueSource(Map values)
Construct a new value source to wrap the supplied map.
|
Modifier and Type | Method and Description |
---|---|
Object |
getValue(String expression,
InterpolationState interpolationState)
Lookup the supplied expression as a key in the wrapped Map, and return
its value.
|
public MapBasedValueSource(Map values)
public Object getValue(String expression, InterpolationState interpolationState)
getValue
in interface FixedValueSource
Copyright © 2001–2016 Codehaus. All rights reserved.