org.apache.maven.model.interpolation
Class StringSearchModelInterpolator

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

@Component(role=ModelInterpolator.class)
public class StringSearchModelInterpolator
extends AbstractStringBasedModelInterpolator


Constructor Summary
StringSearchModelInterpolator()
           
 
Method Summary
protected  org.codehaus.plexus.interpolation.Interpolator createInterpolator()
           
 Model interpolateModel(Model model, File projectDir, ModelBuildingRequest config, ModelProblemCollector problems)
          Interpolates expressions in the specified model.
protected  void interpolateObject(Object obj, Model model, File projectDir, ModelBuildingRequest config, ModelProblemCollector problems)
           
 
Methods inherited from class org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator
createPostProcessors, createValueSources, getInterpolator, getRecursionInterceptor, interpolateInternal, setPathTranslator, setRecursionInterceptor, setUrlNormalizer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringSearchModelInterpolator

public StringSearchModelInterpolator()
Method Detail

interpolateModel

public Model interpolateModel(Model model,
                              File projectDir,
                              ModelBuildingRequest config,
                              ModelProblemCollector problems)
Description copied from interface: ModelInterpolator
Interpolates expressions in the specified model. Note that implementations are free to either interpolate the provided model directly or to create a clone of the model and interpolate the clone. Callers should always use the returned model and must not rely on the input model being updated.

Parameters:
model - The model to interpolate, must not be null.
projectDir - The project directory, may be null if the model does not belong to a local project but to some artifact's metadata.
config - The model building request that holds further settings, must not be null.
problems - The container used to collect problems that were encountered, must not be null.
Returns:
The interpolated model, never null.

interpolateObject

protected void interpolateObject(Object obj,
                                 Model model,
                                 File projectDir,
                                 ModelBuildingRequest config,
                                 ModelProblemCollector problems)

createInterpolator

protected org.codehaus.plexus.interpolation.Interpolator createInterpolator()
Specified by:
createInterpolator in class AbstractStringBasedModelInterpolator


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.