FieldBasedObjectInterpolator
public interface ObjectInterpolator
Interpolator
instance to resolve any String values in the
graph.Modifier and Type | Method | Description |
---|---|---|
java.util.List |
getWarnings() |
Retrieve the
List of warnings (ObjectInterpolationWarning
instances) generated during the last interpolation execution. |
boolean |
hasWarnings() |
Returns true if the last interpolation execution generated warnings.
|
void |
interpolate(java.lang.Object target,
BasicInterpolator interpolator) |
Traverse the object graph from the given starting point and interpolate
any Strings found in that graph using the given
Interpolator . |
void |
interpolate(java.lang.Object target,
BasicInterpolator interpolator,
RecursionInterceptor recursionInterceptor) |
Traverse the object graph from the given starting point and interpolate
any Strings found in that graph using the given
Interpolator . |
void interpolate(java.lang.Object target, BasicInterpolator interpolator) throws InterpolationException
Interpolator
.target
- The starting point of the object graph to traverseinterpolator
- The Interpolator
used to resolve any Strings encountered during traversal.InterpolationException
- in case of an error.void interpolate(java.lang.Object target, BasicInterpolator interpolator, RecursionInterceptor recursionInterceptor) throws InterpolationException
Interpolator
.target
- The starting point of the object graph to traverseinterpolator
- The Interpolator
used to resolve any Strings encountered during traversal.recursionInterceptor
- The RecursionInterceptor
used to detect cyclical expressions in the graphInterpolationException
- in case of an error.boolean hasWarnings()
java.util.List getWarnings()
List
of warnings (ObjectInterpolationWarning
instances) generated during the last interpolation execution.Copyright © 2018. All rights reserved.