org.codehaus.plexus.util.interpolation
Class MapBasedValueSource

java.lang.Object
  extended byorg.codehaus.plexus.util.interpolation.MapBasedValueSource
All Implemented Interfaces:
ValueSource

public class MapBasedValueSource
extends java.lang.Object
implements ValueSource


Field Summary
private  java.util.Map values
           
 
Constructor Summary
MapBasedValueSource(java.util.Map values)
           
 
Method Summary
 java.lang.Object getValue(java.lang.String expression)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

values

private final java.util.Map values
Constructor Detail

MapBasedValueSource

public MapBasedValueSource(java.util.Map values)
Method Detail

getValue

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