org.codehaus.plexus.util.interpolation
Class MapBasedValueSource

java.lang.Object
  extended by org.codehaus.plexus.util.interpolation.MapBasedValueSource
All 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(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
 

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.


Copyright © 2001-2007 Codehaus. All Rights Reserved.