org.codehaus.plexus.interpolation
public interface Interpolator
Version: $Id: Interpolator.java 7826 2008-11-14 16:21:07Z olamy $
Method Summary | |
---|---|
void | addPostProcessor(InterpolationPostProcessor postProcessor)
Add a new post-processor to handle final processing after
recursively-interpolated value is determined. |
void | addValueSource(ValueSource valueSource)
Add a new ValueSource to the stack used to resolve expressions
in this interpolator instance. |
void | clearAnswers() |
void | clearFeedback()
Clear the feedback messages from previous interpolate(..) calls. |
List | getFeedback()
Return any feedback messages and errors that were generated - but
suppressed - during the interpolation process. |
String | interpolate(String input, String thisPrefixPattern)
See Interpolator.
|
String | interpolate(String input, String thisPrefixPattern, RecursionInterceptor recursionInterceptor)
Attempt to resolve all expressions in the given input string, using the
given pattern to first trim an optional prefix from each expression. |
String | interpolate(String input)
See Interpolator.
|
String | interpolate(String input, RecursionInterceptor recursionInterceptor)
See Interpolator.
|
boolean | isCacheAnswers() |
void | removePostProcessor(InterpolationPostProcessor postProcessor)
Remove the given post-processor. |
void | removeValuesSource(ValueSource valueSource)
Remove the specified ValueSource from the stack used to resolve
expressions in this interpolator instance. |
void | setCacheAnswers(boolean cacheAnswers) |
Returns: a List that may be interspersed with String and Throwable instances.
Parameters: input The input string to interpolate thisPrefixPattern An optional pattern that should be trimmed from the start of any expressions found in the input.
Parameters: input The input string to interpolate thisPrefixPattern An optional pattern that should be trimmed from the start of any expressions found in the input. recursionInterceptor Used to protect the interpolation process from expression cycles, and throw an exception if one is detected.
Parameters: input The input string to interpolate
Parameters: input The input string to interpolate recursionInterceptor Used to protect the interpolation process from expression cycles, and throw an exception if one is detected.