org.codehaus.plexus.util.interpolation

Class ObjectBasedValueSource

Implemented Interfaces:
ValueSource

public class ObjectBasedValueSource
extends java.lang.Object
implements ValueSource

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

Constructor Summary

ObjectBasedValueSource(Object root)

Method Summary

Object
getValue(String expression)

Constructor Details

ObjectBasedValueSource

public ObjectBasedValueSource(Object root)

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.