JspCompilerAdapter
JasperC
public abstract class DefaultJspCompilerAdapter extends java.lang.Object implements JspCompilerAdapter
Constructor | Description |
---|---|
DefaultJspCompilerAdapter() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
addArg(CommandlineJava cmd,
java.lang.String argument) |
add a single argument to the argument list, if the value isn't 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 isn't 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 isn't 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<java.lang.String> compileList,
CommandlineJava cmd) |
Logs the compilation parameters, adds the files to compile and logs the
"niceSourceList"
|
void |
setJspc(JspC owner) |
set the owner
|
createMangler, execute
protected JspC owner
protected void logAndAddFilesToCompile(JspC jspc, java.util.Vector<java.lang.String> 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 JspCompilerAdapter
owner
- the owner JspC compilerpublic JspC getJspc()
protected void addArg(CommandlineJava cmd, java.lang.String argument)
cmd
- the command lineargument
- The argumentprotected void addArg(CommandlineJava cmd, java.lang.String argument, java.lang.String value)
cmd
- the command lineargument
- The argumentvalue
- the parameterprotected 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 JspCompilerAdapter
public Project getProject()