org.apache.tools.ant.taskdefs.optional.jsp.compilers

Interface JspCompilerAdapter

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).

Method Summary
JspManglercreateMangler()
booleanexecute()
Executes the task.
booleanimplementsOwnDependencyChecking()
ask if compiler can sort out its own dependencies
voidsetJspc(JspC attributes)
Sets the compiler attributes, which are stored in the Jspc task.

Method Detail

createMangler

public JspMangler createMangler()

Returns: an instance of the mangler this compiler uses

execute

public boolean execute()
Executes the task.

Returns: has the compilation been successful

implementsOwnDependencyChecking

public boolean implementsOwnDependencyChecking()
ask if compiler can sort out its own dependencies

Returns: 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.
Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.