public class ObjectBasedValueSource extends Object implements FixedValueSource
Constructor and Description |
---|
ObjectBasedValueSource(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 |
---|---|
Object |
getValue(String expression,
InterpolationState interpolationState)
Split the expression into parts, tokenized on the dot ('.') character.
|
public ObjectBasedValueSource(Object root)
public Object getValue(String expression, InterpolationState interpolationState)
ReflectionValueExtractor
class.getValue
in interface FixedValueSource
Copyright © 2001–2021 Codehaus Plexus. All rights reserved.