public final class JspCompilerAdapterFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static JspCompilerAdapter |
getCompiler(java.lang.String compilerType,
Task task)
Based on the parameter passed in, this method creates the necessary
factory desired.
|
static JspCompilerAdapter |
getCompiler(java.lang.String compilerType,
Task task,
AntClassLoader loader)
Based on the parameter passed in, this method creates the necessary
factory desired.
|
public static JspCompilerAdapter getCompiler(java.lang.String compilerType, Task task) throws BuildException
compilerType
- either the name of the desired compiler, or the
full classname of the compiler's adapter.task
- a task to log through.BuildException
- if the compiler type could not be resolved into
a compiler adapter.public static JspCompilerAdapter getCompiler(java.lang.String compilerType, Task task, AntClassLoader loader) throws BuildException
compilerType
- either the name of the desired compiler, or the
full classname of the compiler's adapter.task
- a task to log through.loader
- AntClassLoader with which the compiler should be loadedBuildException
- if the compiler type could not be resolved into
a compiler adapter.