| java.lang.Object org.apache.tools.ant.taskdefs.optional.jsp.compilers.JspCompilerAdapterFactory
JspCompilerAdapterFactory | final public class JspCompilerAdapterFactory (Code) | | Creates the necessary compiler adapter, given basic criteria.
|
Method Summary | |
public static JspCompilerAdapter | getCompiler(String compilerType, Task task) Based on the parameter passed in, this method creates the necessary
factory desired.
The current mapping for compiler names are as follows:
- jasper = jasper compiler (the default)
- a fully quallified classname = the name of a jsp compiler
adapter
Parameters: compilerType - either the name of the desired compiler, or thefull classname of the compiler's adapter. Parameters: task - a task to log through. | public static JspCompilerAdapter | getCompiler(String compilerType, Task task, AntClassLoader loader) Based on the parameter passed in, this method creates the necessary
factory desired. |
getCompiler | public static JspCompilerAdapter getCompiler(String compilerType, Task task) throws BuildException(Code) | | Based on the parameter passed in, this method creates the necessary
factory desired.
The current mapping for compiler names are as follows:
- jasper = jasper compiler (the default)
- a fully quallified classname = the name of a jsp compiler
adapter
Parameters: compilerType - either the name of the desired compiler, or thefull classname of the compiler's adapter. Parameters: task - a task to log through. the compiler throws: BuildException - if the compiler type could not be resolved intoa compiler adapter. |
getCompiler | public static JspCompilerAdapter getCompiler(String compilerType, Task task, AntClassLoader loader) throws BuildException(Code) | | Based on the parameter passed in, this method creates the necessary
factory desired.
The current mapping for compiler names are as follows:
- jasper = jasper compiler (the default)
- a fully quallified classname = the name of a jsp compiler
adapter
Parameters: compilerType - either the name of the desired compiler, or thefull classname of the compiler's adapter. Parameters: task - a task to log through. Parameters: loader - AntClassLoader with which the compiler should be loaded the compiler throws: BuildException - if the compiler type could not be resolved intoa compiler adapter. |
|
|