Class PrefixedObjectValueSource
- java.lang.Object
-
- org.codehaus.plexus.interpolation.fixed.AbstractDelegatingValueSource
-
- org.codehaus.plexus.interpolation.fixed.PrefixedObjectValueSource
-
- All Implemented Interfaces:
FixedValueSource
public class PrefixedObjectValueSource extends AbstractDelegatingValueSource
Wraps an arbitrary object with anObjectBasedValueSourceinstance, then wraps that source with aPrefixedValueSourceWrapperinstance, to which this class delegates all of its calls.
-
-
Constructor Summary
Constructors Constructor Description PrefixedObjectValueSource(java.lang.String prefix, java.lang.Object root)Wrap the specified root object, allowing the specified expression prefix.PrefixedObjectValueSource(java.util.List<java.lang.String> possiblePrefixes, java.lang.Object root, boolean allowUnprefixedExpressions)Wrap the specified root object, allowing the specified list of expression prefixes and setting whether thePrefixedValueSourceWrapperallows unprefixed expressions.
-
Method Summary
-
Methods inherited from class org.codehaus.plexus.interpolation.fixed.AbstractDelegatingValueSource
getDelegate, getValue
-
-
-
-
Constructor Detail
-
PrefixedObjectValueSource
public PrefixedObjectValueSource(java.lang.String prefix, java.lang.Object root)Wrap the specified root object, allowing the specified expression prefix.- Parameters:
prefix- the prefix.root- The root of the graph.
-
PrefixedObjectValueSource
public PrefixedObjectValueSource(java.util.List<java.lang.String> possiblePrefixes, java.lang.Object root, boolean allowUnprefixedExpressions)Wrap the specified root object, allowing the specified list of expression prefixes and setting whether thePrefixedValueSourceWrapperallows unprefixed expressions.- Parameters:
possiblePrefixes- The list of possible prefixed.root- The root of the graph.allowUnprefixedExpressions- allow unrefixed expressions or not.
-
-