public class ObjectBasedValueSource extends java.lang.Object implements FixedValueSource
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Object |
root |
| Constructor and Description |
|---|
ObjectBasedValueSource(java.lang.Object root)
Construct a new value source, using the supplied object as the root from
which to start, and using expressions split at the dot ('.') to navigate
the object graph beneath this root.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getValue(java.lang.String expression,
InterpolationState interpolationState)
Split the expression into parts, tokenized on the dot ('.') character.
|
public ObjectBasedValueSource(java.lang.Object root)
public java.lang.Object getValue(java.lang.String expression,
InterpolationState interpolationState)
ReflectionValueExtractor class.getValue in interface FixedValueSource