org.codehaus.plexus.interpolation
Class PrefixedObjectValueSource
java.lang.Object
org.codehaus.plexus.interpolation.AbstractDelegatingValueSource
org.codehaus.plexus.interpolation.PrefixedObjectValueSource
- All Implemented Interfaces:
- QueryEnabledValueSource, ValueSource
public class PrefixedObjectValueSource
- extends AbstractDelegatingValueSource
- implements QueryEnabledValueSource
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.
- Version:
- $Id: PrefixedObjectValueSource.java 7681 2008-08-22 20:34:22Z jdcasey $
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrefixedObjectValueSource
public PrefixedObjectValueSource(java.lang.String prefix,
java.lang.Object root)
- Wrap the specified root object, allowing the specified expression prefix.
PrefixedObjectValueSource
public 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.
getLastExpression
public java.lang.String getLastExpression()
-
- Specified by:
getLastExpression
in interface QueryEnabledValueSource
- Returns:
- the most recent expression processed by this value source, or null.
Copyright © 2001-2011 Codehaus. All Rights Reserved.