Class DefaultJspCompilerAdapter
- java.lang.Object
- 
- org.apache.tools.ant.taskdefs.optional.jsp.compilers.DefaultJspCompilerAdapter
 
- 
- All Implemented Interfaces:
- JspCompilerAdapter
 - Direct Known Subclasses:
- JasperC
 
 public abstract class DefaultJspCompilerAdapter extends java.lang.Object implements JspCompilerAdapter This is the default implementation for the JspCompilerAdapter interface. This is currently very light on the ground since only one compiler type is supported.
- 
- 
Constructor SummaryConstructors Constructor Description DefaultJspCompilerAdapter()
 - 
Method SummaryModifier and Type Method Description protected voidaddArg(CommandlineJava cmd, java.lang.String argument)add a single argument to the argument list, if the value isn't nullprotected voidaddArg(CommandlineJava cmd, java.lang.String argument, java.io.File file)add an argument tuple to the arg list, if the file parameter isn't nullprotected voidaddArg(CommandlineJava cmd, java.lang.String argument, java.lang.String value)add an argument tuple to the argument list, if the value isn't nullJspCgetJspc()get the ownerProjectgetProject()get our projectbooleanimplementsOwnDependencyChecking()ask if compiler can sort out its own dependenciesprotected voidlogAndAddFilesToCompile(JspC jspc, java.util.Vector<java.lang.String> compileList, CommandlineJava cmd)Logs the compilation parameters, adds the files to compile and logs the "niceSourceList"voidsetJspc(JspC owner)set the owner- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.tools.ant.taskdefs.optional.jsp.compilers.JspCompilerAdaptercreateMangler, execute
 
- 
 
- 
- 
- 
Field Detail- 
ownerprotected JspC owner our owner
 
- 
 - 
Method Detail- 
logAndAddFilesToCompileprotected void logAndAddFilesToCompile(JspC jspc, java.util.Vector<java.lang.String> compileList, CommandlineJava cmd) Logs the compilation parameters, adds the files to compile and logs the "niceSourceList"- Parameters:
- jspc- the compiler task for logging
- compileList- the list of files to compile
- cmd- the command line used
 
 - 
setJspcpublic void setJspc(JspC owner) set the owner- Specified by:
- setJspcin interface- JspCompilerAdapter
- Parameters:
- owner- the owner JspC compiler
 
 - 
getJspcpublic JspC getJspc() get the owner- Returns:
- the owner; should never be null
 
 - 
addArgprotected void addArg(CommandlineJava cmd, java.lang.String argument) add a single argument to the argument list, if the value isn't null- Parameters:
- cmd- the command line
- argument- The argument
 
 - 
addArgprotected void addArg(CommandlineJava cmd, java.lang.String argument, java.lang.String value) add an argument tuple to the argument list, if the value isn't null- Parameters:
- cmd- the command line
- argument- The argument
- value- the parameter
 
 - 
addArgprotected void addArg(CommandlineJava cmd, java.lang.String argument, java.io.File file) add an argument tuple to the arg list, if the file parameter isn't null- Parameters:
- cmd- the command line
- argument- The argument
- file- the parameter
 
 - 
implementsOwnDependencyCheckingpublic boolean implementsOwnDependencyChecking() ask if compiler can sort out its own dependencies- Specified by:
- implementsOwnDependencyCheckingin interface- JspCompilerAdapter
- Returns:
- true if the compiler wants to do its own depends
 
 - 
getProjectpublic Project getProject() get our project- Returns:
- owner project data
 
 
- 
 
-