org.apache.maven.model.building
Class DefaultModelBuilderFactory

java.lang.Object
  extended by org.apache.maven.model.building.DefaultModelBuilderFactory

public class DefaultModelBuilderFactory
extends Object

A factory to create model builder instances when no dependency injection is available. Note: This class is only meant as a utility for developers that want to employ the model builder outside of the Maven build system, Maven plugins should always acquire model builder instances via dependency injection. Developers might want to subclass this factory to provide custom implementations for some of the components used by the model builder.

Author:
Benjamin Bentmann

Constructor Summary
DefaultModelBuilderFactory()
           
 
Method Summary
protected  DependencyManagementImporter newDependencyManagementImporter()
           
protected  DependencyManagementInjector newDependencyManagementInjector()
           
protected  InheritanceAssembler newInheritanceAssembler()
           
 DefaultModelBuilder newInstance()
          Creates a new model builder instance.
protected  LifecycleBindingsInjector newLifecycleBindingsInjector()
           
protected  ModelInterpolator newModelInterpolator()
           
protected  ModelLocator newModelLocator()
           
protected  ModelNormalizer newModelNormalizer()
           
protected  ModelPathTranslator newModelPathTranslator()
           
protected  ModelProcessor newModelProcessor()
           
protected  ModelReader newModelReader()
           
protected  ModelUrlNormalizer newModelUrlNormalizer()
           
protected  ModelValidator newModelValidator()
           
protected  PathTranslator newPathTranslator()
           
protected  PluginConfigurationExpander newPluginConfigurationExpander()
           
protected  PluginManagementInjector newPluginManagementInjector()
           
protected  ProfileActivator[] newProfileActivators()
           
protected  ProfileInjector newProfileInjector()
           
protected  ProfileSelector newProfileSelector()
           
protected  ReportConfigurationExpander newReportConfigurationExpander()
           
protected  ReportingConverter newReportingConverter()
           
protected  SuperPomProvider newSuperPomProvider()
           
protected  UrlNormalizer newUrlNormalizer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultModelBuilderFactory

public DefaultModelBuilderFactory()
Method Detail

newModelProcessor

protected ModelProcessor newModelProcessor()

newModelLocator

protected ModelLocator newModelLocator()

newModelReader

protected ModelReader newModelReader()

newProfileSelector

protected ProfileSelector newProfileSelector()

newProfileActivators

protected ProfileActivator[] newProfileActivators()

newUrlNormalizer

protected UrlNormalizer newUrlNormalizer()

newPathTranslator

protected PathTranslator newPathTranslator()

newModelInterpolator

protected ModelInterpolator newModelInterpolator()

newModelValidator

protected ModelValidator newModelValidator()

newModelNormalizer

protected ModelNormalizer newModelNormalizer()

newModelPathTranslator

protected ModelPathTranslator newModelPathTranslator()

newModelUrlNormalizer

protected ModelUrlNormalizer newModelUrlNormalizer()

newInheritanceAssembler

protected InheritanceAssembler newInheritanceAssembler()

newProfileInjector

protected ProfileInjector newProfileInjector()

newSuperPomProvider

protected SuperPomProvider newSuperPomProvider()

newDependencyManagementImporter

protected DependencyManagementImporter newDependencyManagementImporter()

newDependencyManagementInjector

protected DependencyManagementInjector newDependencyManagementInjector()

newLifecycleBindingsInjector

protected LifecycleBindingsInjector newLifecycleBindingsInjector()

newPluginManagementInjector

protected PluginManagementInjector newPluginManagementInjector()

newPluginConfigurationExpander

protected PluginConfigurationExpander newPluginConfigurationExpander()

newReportConfigurationExpander

protected ReportConfigurationExpander newReportConfigurationExpander()

newReportingConverter

protected ReportingConverter newReportingConverter()

newInstance

public DefaultModelBuilder newInstance()
Creates a new model builder instance.

Returns:
The new model builder instance, never null.


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