|
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jasper.compiler.Compiler
Main JSP compiler class. This class uses Ant for compiling.
Field Summary | |
protected JspCompilationContext |
ctxt
|
protected Options |
options
|
protected Node.Nodes |
pageNodes
|
protected Project |
project
|
Constructor Summary | |
Compiler(JspCompilationContext ctxt)
|
|
Compiler(JspCompilationContext ctxt,
JspServletWrapper jsw)
|
Method Summary | |
void |
compile()
Compile the jsp file from the current engine context |
void |
generateClass()
Compile the jsp file from the current engine context |
void |
generateJava()
Compile the jsp file from the current engine context |
JspCompilationContext |
getCompilationContext()
|
ErrorDispatcher |
getErrorDispatcher()
Gets the error dispatcher. |
org.apache.jasper.compiler.PageInfo |
getPageInfo()
Gets the info about the page under compilation |
boolean |
isOutDated()
This is a protected method intended to be overridden by subclasses of Compiler. |
boolean |
isOutDated(boolean checkClass)
This is a protected method intended to be overridden by subclasses of Compiler. |
void |
removeGeneratedFiles()
Remove generated files |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected JspCompilationContext ctxt
protected Project project
protected Options options
protected Node.Nodes pageNodes
Constructor Detail |
public Compiler(JspCompilationContext ctxt)
public Compiler(JspCompilationContext ctxt, JspServletWrapper jsw)
Method Detail |
public void generateJava() throws java.io.FileNotFoundException, JasperException, java.lang.Exception
java.io.FileNotFoundException
JasperException
java.lang.Exception
public void generateClass() throws java.io.FileNotFoundException, JasperException, java.lang.Exception
java.io.FileNotFoundException
JasperException
java.lang.Exception
public void compile() throws java.io.FileNotFoundException, JasperException, java.lang.Exception
java.io.FileNotFoundException
JasperException
java.lang.Exception
public boolean isOutDated()
public boolean isOutDated(boolean checkClass)
checkClass
- Verify the class file if true, only the .java file if false.public ErrorDispatcher getErrorDispatcher()
public org.apache.jasper.compiler.PageInfo getPageInfo()
public JspCompilationContext getCompilationContext()
public void removeGeneratedFiles()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |