|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.interpolation.PrefixedObjectValueSource
public class PrefixedObjectValueSource
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.
Constructor Summary | |
---|---|
PrefixedObjectValueSource(java.util.List possiblePrefixes,
java.lang.Object root,
boolean allowUnprefixedExpressions)
Wrap the specified root object, allowing the specified list of expression prefixes and setting whether the PrefixedValueSourceWrapper allows
unprefixed expressions. |
|
PrefixedObjectValueSource(java.lang.String prefix,
java.lang.Object root)
Wrap the specified root object, allowing the specified expression prefix. |
Method Summary | |
---|---|
void |
clearFeedback()
Clear the feedback accumulated by a prior interpolation run. |
java.util.List |
getFeedback()
Return the feedback about resolution failures for a particular expression. |
java.lang.String |
getLastExpression()
|
java.lang.Object |
getValue(java.lang.String expression)
Delegates to PrefixedValueSourceWrapper.getValue(String) for the
instance wrapping the instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrefixedObjectValueSource(java.lang.String prefix, java.lang.Object root)
public PrefixedObjectValueSource(java.util.List possiblePrefixes, java.lang.Object root, boolean allowUnprefixedExpressions)
PrefixedValueSourceWrapper
allows
unprefixed expressions.
Method Detail |
---|
public java.lang.Object getValue(java.lang.String expression)
PrefixedValueSourceWrapper.getValue(String)
for the
instance wrapping the instance.
getValue
in interface ValueSource
public void clearFeedback()
clearFeedback
in interface FeedbackEnabledValueSource
public java.util.List getFeedback()
getFeedback
in interface FeedbackEnabledValueSource
public java.lang.String getLastExpression()
getLastExpression
in interface QueryEnabledValueSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |