Package org.codehaus.plexus.interpolation
package org.codehaus.plexus.interpolation
-
ClassDescription
ValueSource
abstract implementation that wraps another value source.Knows how to do basic interpolation services.ValueSource
which resolves expressions against the environment variables available from the underlying operating system (and possibly, the shell environment that created the present Java process).Deprecated.A value source that allows a fixed interpolator to be injected into a regular interpolator.Signals an unrecoverable error in the process of interpolating a string, such as the detection of an expression cycle.Used to allow full recursion of value interpolation before applying some rule to the result.Interpolator interface.A FilterReader implementation, that works with Interpolator interface instead of it's own interpolation implementation.Wraps a Map, and looks up the whole expression as a single key, returning the value mapped to it.Wraps an object, providing reflective access to the object graph of which the supplied object is the root.RecursionInterceptor
implementation that provides support for expressions with multiple synonyms, such as project.build.directory == pom.build.directory == build.directory in Maven's POM.Wraps an arbitrary object with anObjectBasedValueSource
instance, then wraps that source with aPrefixedValueSourceWrapper
instance, to which this class delegates all of its calls.Legacy support.ValueSource
implementation which simply wraps another value source, and trims any of a set of possible expression prefixes before delegating the modified expression to be resolved by the real value source.ValueSource
implementation that wraps aProperties
instance, and does a simple lookup of the entire expression string as the parameter forProperties.getProperty(String)
, returning the result as the resolved value.Tracks the most recent expression processed by this value source implementation.Logs expressions before resolution is attempted, and clears them after resolution is complete (or, fails all strategies).Expansion of the original RegexBasedInterpolator, found in plexus-utils, this interpolator provides options for setting custom prefix/suffix regex parts, and includes aRecursionInterceptor
parameter in its interpolate(..) call, to allow the detection of cyclical expression references.Simplest implementation of aRecursionInterceptor
, which checks whether the existing interpolation effort is already attempting to resolve an exact expression, but has not finished.If the expression matches, simply return the response object.Supplies one strategy for resolving a value for an interpolation expression.
ValueSource
now.