All Classes and Interfaces
Class
Description
ValueSource
abstract implementation that wraps another value source.Knows how to do basic interpolation services.
NOTE: This class was copied from plexus-utils, to allow this library
to stand completely self-contained.
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).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.
Reflectively traverses an object graph and uses an
Interpolator
instance to resolve any String fields in the
graph.A value source that allows a fixed interpolator to be injected into
a regular interpolator.
A fixed string search interpolator is permanently bound to a given set of value sources,
an is totally fixed and stateless over these value sources.
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.
AN error collector contains the errors accumulated during an interpolation.
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 a Map, and looks up the whole expression as a single key, returning the
value mapped to it.
NOTE: This class was copied from plexus-utils, to allow this library
to stand completely self-contained.
simple distinguishable exception, used when
we run across ambiguous overloading
A FilterReader implementation, that works with Interpolator interface instead of it's own interpolation
implementation.
Wraps an object, providing reflective access to the object graph of which the
supplied object is the root.
Wraps an object, providing reflective access to the object graph of which the
supplied object is the root.
Represents a warning that occurred while interpolating an object graph.
Traverses an object graph and uses an
Interpolator
instance to resolve any String values in the
graph.NOTE: This class was copied from plexus-utils, to allow this library
to stand completely self-contained.
Default implementation to load environment variables.
Defines the functionality to load a Map of environment variables.
NOTE: This class was copied from plexus-utils, to allow this library
to stand completely self-contained.
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 an
ObjectBasedValueSource
instance, then
wraps that source with a PrefixedValueSourceWrapper
instance, to which
this class delegates all of its calls.Wraps an arbitrary object with an
ObjectBasedValueSource
instance, then
wraps that source with a PrefixedValueSourceWrapper
instance, to which
this class delegates all of its calls.Legacy support.
Legacy support.
FixedValueSource
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 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.FixedValueSource
implementation that wraps a Properties
instance,
and does a simple lookup of the entire expression string as the parameter for
Properties.getProperty(String)
, returning the result as the resolved
value.ValueSource
implementation that wraps a Properties
instance,
and does a simple lookup of the entire expression string as the parameter for
Properties.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).
NOTE: This class was copied from plexus-utils, to allow this library to stand completely self-contained.
Expansion of the original RegexBasedInterpolator, found in plexus-utils, this
interpolator provides options for setting custom prefix/suffix regex parts,
and includes a
RecursionInterceptor
parameter in its interpolate(..)
call, to allow the detection of cyclical expression references.Simplest implementation of a
RecursionInterceptor
, 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.
Code here was swiped from plexus-utils' StringUtils class, so
plexus-interpolation could be completely self-contained.
Supplies one strategy for resolving a value for an interpolation expression.
Utility methods shared by multiple
ValueSource
implementations.
ValueSource
now.