org.codehaus.plexus.util.interpolation

Class MapBasedValueSource

Implemented Interfaces:
ValueSource

public class MapBasedValueSource
extends java.lang.Object
implements ValueSource

Field Summary

private Map
values

Constructor Summary

MapBasedValueSource(Map values)

Method Summary

Object
getValue(String expression)

Field Details

values

private final Map values

Constructor Details

MapBasedValueSource

public MapBasedValueSource(Map values)

Method Details

getValue

public Object getValue(String expression)
Specified by:
getValue in interface ValueSource
Returns:
the value related to the expression, or null if not found.