org.codehaus.plexus.interpolation.multi

Class MultiDelimiterStringSearchInterpolator

public class MultiDelimiterStringSearchInterpolator extends Object implements Interpolator

Constructor Summary
MultiDelimiterStringSearchInterpolator()
Method Summary
MultiDelimiterStringSearchInterpolatoraddDelimiterSpec(String delimiterSpec)
voidaddPostProcessor(InterpolationPostProcessor postProcessor)
voidaddValueSource(ValueSource valueSource)
voidclearAnswers()
voidclearFeedback()
Clear the feedback messages from previous interpolate(..) calls.
StringgetEscapeString()
ListgetFeedback()
Return any feedback messages and errors that were generated - but suppressed - during the interpolation process.
Stringinterpolate(String input, String thisPrefixPattern)
Stringinterpolate(String input, String thisPrefixPattern, RecursionInterceptor recursionInterceptor)
Stringinterpolate(String input)
Stringinterpolate(String input, RecursionInterceptor recursionInterceptor)
Entry point for recursive resolution of an expression and all of its nested expressions.
booleanisCacheAnswers()
booleanremoveDelimiterSpec(String delimiterSpec)
voidremovePostProcessor(InterpolationPostProcessor postProcessor)
voidremoveValuesSource(ValueSource valueSource)
voidsetCacheAnswers(boolean cacheAnswers)
MultiDelimiterStringSearchInterpolatorsetDelimiterSpecs(LinkedHashSet specs)
voidsetEscapeString(String escapeString)
MultiDelimiterStringSearchInterpolatorwithPostProcessor(InterpolationPostProcessor postProcessor)
MultiDelimiterStringSearchInterpolatorwithValueSource(ValueSource vs)

Constructor Detail

MultiDelimiterStringSearchInterpolator

public MultiDelimiterStringSearchInterpolator()

Method Detail

addDelimiterSpec

public MultiDelimiterStringSearchInterpolator addDelimiterSpec(String delimiterSpec)

addPostProcessor

public void addPostProcessor(InterpolationPostProcessor postProcessor)
{@inheritDoc }

addValueSource

public void addValueSource(ValueSource valueSource)
{@inheritDoc }

clearAnswers

public void clearAnswers()

clearFeedback

public void clearFeedback()
Clear the feedback messages from previous interpolate(..) calls.

getEscapeString

public String getEscapeString()

getFeedback

public List getFeedback()
Return any feedback messages and errors that were generated - but suppressed - during the interpolation process. Since unresolvable expressions will be left in the source string as-is, this feedback is optional, and will only be useful for debugging interpolation problems.

Returns: a List that may be interspersed with String and Throwable instances.

interpolate

public String interpolate(String input, String thisPrefixPattern)

interpolate

public String interpolate(String input, String thisPrefixPattern, RecursionInterceptor recursionInterceptor)

interpolate

public String interpolate(String input)

interpolate

public String interpolate(String input, RecursionInterceptor recursionInterceptor)
Entry point for recursive resolution of an expression and all of its nested expressions.

UNKNOWN: Ensure unresolvable expressions don't trigger infinite recursion.

isCacheAnswers

public boolean isCacheAnswers()

removeDelimiterSpec

public boolean removeDelimiterSpec(String delimiterSpec)

removePostProcessor

public void removePostProcessor(InterpolationPostProcessor postProcessor)
{@inheritDoc }

removeValuesSource

public void removeValuesSource(ValueSource valueSource)
{@inheritDoc }

setCacheAnswers

public void setCacheAnswers(boolean cacheAnswers)

setDelimiterSpecs

public MultiDelimiterStringSearchInterpolator setDelimiterSpecs(LinkedHashSet specs)

setEscapeString

public void setEscapeString(String escapeString)

withPostProcessor

public MultiDelimiterStringSearchInterpolator withPostProcessor(InterpolationPostProcessor postProcessor)

withValueSource

public MultiDelimiterStringSearchInterpolator withValueSource(ValueSource vs)
Copyright © 2001-2009 Codehaus. All Rights Reserved.