org.apache.maven.model.interpolation
Class AbstractStringBasedModelInterpolator

java.lang.Object
  extended by org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator
All Implemented Interfaces:
ModelInterpolator
Direct Known Subclasses:
StringSearchModelInterpolator

public abstract class AbstractStringBasedModelInterpolator
extends Object
implements ModelInterpolator

Use a regular expression search to find and resolve expressions within the POM.

Author:
jdcasey Created on Feb 3, 2005

Constructor Summary
AbstractStringBasedModelInterpolator()
           
 
Method Summary
protected abstract  Interpolator createInterpolator()
           
protected  List<? extends InterpolationPostProcessor> createPostProcessors(Model model, File projectDir, ModelBuildingRequest config)
           
protected  List<ValueSource> createValueSources(Model model, File projectDir, ModelBuildingRequest config, ModelProblemCollector problems)
           
protected  Interpolator getInterpolator()
           
protected  RecursionInterceptor getRecursionInterceptor()
           
protected  String interpolateInternal(String src, List<? extends ValueSource> valueSources, List<? extends InterpolationPostProcessor> postProcessors, ModelProblemCollector problems)
           
 AbstractStringBasedModelInterpolator setPathTranslator(PathTranslator pathTranslator)
           
protected  void setRecursionInterceptor(RecursionInterceptor recursionInterceptor)
           
 AbstractStringBasedModelInterpolator setUrlNormalizer(UrlNormalizer urlNormalizer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.model.interpolation.ModelInterpolator
interpolateModel
 

Constructor Detail

AbstractStringBasedModelInterpolator

public AbstractStringBasedModelInterpolator()
Method Detail

setPathTranslator

public AbstractStringBasedModelInterpolator setPathTranslator(PathTranslator pathTranslator)

setUrlNormalizer

public AbstractStringBasedModelInterpolator setUrlNormalizer(UrlNormalizer urlNormalizer)

createValueSources

protected List<ValueSource> createValueSources(Model model,
                                               File projectDir,
                                               ModelBuildingRequest config,
                                               ModelProblemCollector problems)

createPostProcessors

protected List<? extends InterpolationPostProcessor> createPostProcessors(Model model,
                                                                          File projectDir,
                                                                          ModelBuildingRequest config)

interpolateInternal

protected String interpolateInternal(String src,
                                     List<? extends ValueSource> valueSources,
                                     List<? extends InterpolationPostProcessor> postProcessors,
                                     ModelProblemCollector problems)

getRecursionInterceptor

protected RecursionInterceptor getRecursionInterceptor()

setRecursionInterceptor

protected void setRecursionInterceptor(RecursionInterceptor recursionInterceptor)

createInterpolator

protected abstract Interpolator createInterpolator()

getInterpolator

protected final Interpolator getInterpolator()


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.