org.codehaus.plexus.util.interpolation

Class ObjectBasedValueSource

Implemented Interfaces:
ValueSource

public class ObjectBasedValueSource
extends java.lang.Object
implements ValueSource

Field Summary

private Object
root

Constructor Summary

ObjectBasedValueSource(Object root)

Method Summary

Object
getValue(String expression)

Field Details

root

private final Object root

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.