|
Compiler (Jasper Internal API Documentation)
org.apache.jasper.compiler
|
Field Summary | |
protected JspCompilationContext |
ctxt
|
protected JavaCompiler |
javac
|
protected Mangler |
mangler
|
Constructor Summary | |
Compiler(JspCompilationContext ctxt)
|
Method Summary | |
java.lang.String |
changeEncodingIfNecessary(JspReader tmpReader)
Change the encoding for the reader if specified. |
boolean |
compile()
Compile the jsp file from the current engine context |
boolean |
isOutDated()
This is a protected method intended to be overridden by subclasses of Compiler. |
void |
removeGeneratedFiles()
Remove generated files |
void |
setJavaCompiler(JavaCompiler javac)
Set java compiler info |
void |
setMangler(Mangler mangler)
Set Mangler which will be used as part of compile(). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected JavaCompiler javac
protected Mangler mangler
protected JspCompilationContext ctxt
Constructor Detail |
public Compiler(JspCompilationContext ctxt)
Method Detail |
public boolean compile() throws java.io.FileNotFoundException, JasperException, java.lang.Exception
java.io.FileNotFoundException
JasperException
java.lang.Exception
public boolean isOutDated()
public void setJavaCompiler(JavaCompiler javac)
public void setMangler(Mangler mangler)
public java.lang.String changeEncodingIfNecessary(JspReader tmpReader) throws ParseException
public void removeGeneratedFiles()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |