org.codehaus.plexus.interpolation

Class PrefixedObjectValueSource

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(String prefix, Object root)
Wrap the specified root object, allowing the specified expression prefix.
PrefixedObjectValueSource(List possiblePrefixes, Object root, boolean allowUnprefixedExpressions)
Wrap the specified root object, allowing the specified list of expression prefixes and setting whether the PrefixedValueSourceWrapper allows unprefixed expressions.
Method Summary
StringgetLastExpression()

Constructor Detail

PrefixedObjectValueSource

public PrefixedObjectValueSource(String prefix, Object root)
Wrap the specified root object, allowing the specified expression prefix.

PrefixedObjectValueSource

public PrefixedObjectValueSource(List possiblePrefixes, Object root, boolean allowUnprefixedExpressions)
Wrap the specified root object, allowing the specified list of expression prefixes and setting whether the PrefixedValueSourceWrapper allows unprefixed expressions.

Method Detail

getLastExpression

public String getLastExpression()
{@inheritDoc }
Copyright © 2001-2009 Codehaus. All Rights Reserved.