public class ProjectHelperRepository
extends java.lang.Object
ProjectHelper found in the classpath or via
 some System properties.
 See the ProjectHelper documentation in the manual.
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Iterator<ProjectHelper> | getHelpers()Get an iterator on the list of project helpers configured. | 
| static ProjectHelperRepository | getInstance() | 
| ProjectHelper | getProjectHelperForAntlib(Resource antlib)Get the helper that will be able to parse the specified antlib. | 
| ProjectHelper | getProjectHelperForBuildFile(Resource buildFile)Get the helper that will be able to parse the specified build file. | 
| void | registerProjectHelper(java.lang.Class<? extends ProjectHelper> helperClass)Register the specified project helper into the repository. | 
| void | registerProjectHelper(java.lang.String helperClassName)Register the specified project helper into the repository. | 
public static ProjectHelperRepository getInstance()
public void registerProjectHelper(java.lang.String helperClassName)
                           throws BuildException
The helper will be added after all the already registered helpers, but before the default one (ProjectHelper2)
helperClassName - the fully qualified name of the helperBuildException - if the class cannot be loaded or if there is no constructor
             with no argumentpublic void registerProjectHelper(java.lang.Class<? extends ProjectHelper> helperClass) throws BuildException
The helper will be added after all the already registered helpers, but before the default one (ProjectHelper2)
helperClass - the class of the helperBuildException - if there is no constructor with no argumentpublic ProjectHelper getProjectHelperForBuildFile(Resource buildFile) throws BuildException
null).BuildExceptionpublic ProjectHelper getProjectHelperForAntlib(Resource antlib) throws BuildException
null).BuildExceptionpublic java.util.Iterator<ProjectHelper> getHelpers()
ProjectHelper