Interface JspCompilerAdapter
- All Known Implementing Classes:
- DefaultJspCompilerAdapter,- JasperC
public interface JspCompilerAdapter
The interface that all jsp compiler adapters must adhere to.
 
A compiler adapter is an adapter that interprets the jspc's parameters in preparation to be passed off to the compiler 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).
- 
Method SummaryModifier and TypeMethodDescriptionbooleanexecute()Executes the task.booleanask if compiler can sort out its own dependenciesvoidSets the compiler attributes, which are stored in the Jspc task.
- 
Method Details- 
setJspcSets the compiler attributes, which are stored in the Jspc task.- Parameters:
- attributes- the jsp compiler attributes
 
- 
executeExecutes the task.- Returns:
- has the compilation been successful
- Throws:
- BuildException- on error
 
- 
createManglerJspMangler createMangler()- Returns:
- an instance of the mangler this compiler uses
 
- 
implementsOwnDependencyCheckingboolean implementsOwnDependencyChecking()ask if compiler can sort out its own dependencies- Returns:
- true if the compiler wants to do its own depends
 
 
-