|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectInterpolator
Traverses an object graph and uses an Interpolator
instance to resolve any String values in the
graph.
Method Summary | |
---|---|
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(Object target,
Interpolator interpolator)
Traverse the object graph from the given starting point and interpolate any Strings found in that graph using the given Interpolator . |
void |
interpolate(Object target,
Interpolator interpolator,
RecursionInterceptor recursionInterceptor)
Traverse the object graph from the given starting point and interpolate any Strings found in that graph using the given Interpolator . |
Method Detail |
---|
void interpolate(Object target, Interpolator 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
void interpolate(Object target, Interpolator 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 graph
InterpolationException
boolean hasWarnings()
List getWarnings()
List
of warnings (ObjectInterpolationWarning
instances) generated during the last interpolation execution.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |