| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.taskdefs.optional.jsp.compilers.DefaultJspCompilerAdapter
public abstract class DefaultJspCompilerAdapter
This is the default implementation for the JspCompilerAdapter interface. This is currently very light on the ground since only one compiler type is supported.
| Field Summary | |
|---|---|
| protected  JspC | ownerour owner | 
| Constructor Summary | |
|---|---|
| DefaultJspCompilerAdapter() | |
| Method Summary | |
|---|---|
| protected  void | addArg(CommandlineJava cmd,
       java.lang.String argument)add an argument oneple to the argument list, if the value aint null | 
| protected  void | addArg(CommandlineJava cmd,
       java.lang.String argument,
       java.io.File file)add an argument tuple to the arg list, if the file parameter aint null | 
| protected  void | addArg(CommandlineJava cmd,
       java.lang.String argument,
       java.lang.String value)add an argument tuple to the argument list, if the value aint null | 
|  JspC | getJspc()get the owner | 
|  Project | getProject()get our project | 
|  boolean | implementsOwnDependencyChecking()ask if compiler can sort out its own dependencies | 
| protected  void | logAndAddFilesToCompile(JspC jspc,
                        java.util.Vector compileList,
                        CommandlineJava cmd)Logs the compilation parameters, adds the files to compile and logs the "niceSourceList" | 
|  void | setJspc(JspC owner)set the owner | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.apache.tools.ant.taskdefs.optional.jsp.compilers.JspCompilerAdapter | 
|---|
| createMangler, execute | 
| Field Detail | 
|---|
protected JspC owner
| Constructor Detail | 
|---|
public DefaultJspCompilerAdapter()
| Method Detail | 
|---|
protected void logAndAddFilesToCompile(JspC jspc,
                                       java.util.Vector compileList,
                                       CommandlineJava cmd)
jspc - the compiler task for loggingcompileList - the list of files to compilecmd - the command line usedpublic void setJspc(JspC owner)
setJspc in interface JspCompilerAdapterowner - the owner JspC compilerpublic JspC getJspc()
protected void addArg(CommandlineJava cmd,
                      java.lang.String argument)
cmd - the command lineargument - The argument
protected void addArg(CommandlineJava cmd,
                      java.lang.String argument,
                      java.lang.String value)
cmd - the command lineargument - The argumentvalue - the parameter
protected void addArg(CommandlineJava cmd,
                      java.lang.String argument,
                      java.io.File file)
cmd - the command lineargument - The argumentfile - the parameterpublic boolean implementsOwnDependencyChecking()
implementsOwnDependencyChecking in interface JspCompilerAdapterpublic Project getProject()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||