org.codehaus.plexus.util.interpolation
Class ObjectBasedValueSource

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

public class ObjectBasedValueSource
extends java.lang.Object
implements ValueSource


Field Summary
private  java.lang.Object root
           
 
Constructor Summary
ObjectBasedValueSource(java.lang.Object root)
           
 
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

root

private final java.lang.Object root
Constructor Detail

ObjectBasedValueSource

public ObjectBasedValueSource(java.lang.Object root)
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.