org.codehaus.plexus.util.interpolation

Class MapBasedValueSource

Implemented Interfaces:
ValueSource

public class MapBasedValueSource
extends java.lang.Object
implements ValueSource

Version:
$Id: MapBasedValueSource.java 5956 2007-02-28 08:26:16Z olamy $

Constructor Summary

MapBasedValueSource(Map values)

Method Summary

Object
getValue(String expression)

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.