org.apache.tools.ant.taskdefs.optional.jsp.compilers
Interface JspCompilerAdapter
- DefaultJspCompilerAdapter, JasperC
public interface JspCompilerAdapter
The interface that all jsp compiler adapters must adher to.
A compiler adapter is an adapter that interprets the jspc's
parameters in preperation to be passed off to the compier this
adapter represents. As all the necessary values are stored in the
Jspc task itself, the only thing all adapters need is the jsp
task, the execute command and a parameterless constructor (for
reflection).
createMangler
public JspMangler createMangler()
- an instance of the mangler this compiler uses
execute
public boolean execute()
throws BuildException
Executes the task.
- has the compilation been successful
implementsOwnDependencyChecking
public boolean implementsOwnDependencyChecking()
ask if compiler can sort out its own dependencies
- true if the compiler wants to do its own
depends
setJspc
public void setJspc(JspC attributes)
Sets the compiler attributes, which are stored in the Jspc task.
attributes
- the jsp compiler attributes