|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jasper.compiler.Compiler
org.apache.jasper.compiler.JspCompiler
JspCompiler is an implementation of Compiler with a funky code mangling and code generation scheme! The reason that it is both a sub-class of compiler and an implementation of mangler is because the isOutDated method that is overridden and the name mangulation both depend on the actual existance of other class and java files. I.e. the value of a mangled name is a function of both the name to be mangled and also of the state of the scratchdir.
Field Summary | |
static java.lang.String[] |
keywords
|
Fields inherited from class org.apache.jasper.compiler.Compiler |
ctxt, javac, mangler |
Constructor Summary | |
JspCompiler(JspCompilationContext ctxt)
|
Method Summary | |
java.lang.String |
getClassFileName()
The full name of the .class file ( without version number) |
java.lang.String |
getClassName()
The class name ( without package ) of the generated servlet, including the version number |
java.lang.String |
getJavaFileName()
The full name of the .java file, including version number ( based on className and outputDir ) |
java.lang.String |
getPackageName()
The package name. |
java.lang.String |
getRealClassName()
Return the real class name for the JSP, including package and version. |
boolean |
isOutDated()
Determines whether the current JSP class is older than the JSP file from whence it came |
Methods inherited from class org.apache.jasper.compiler.Compiler |
changeEncodingIfNecessary, compile, computeServletClassName, removeGeneratedFiles, setJavaCompiler, setMangler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String[] keywords
Constructor Detail |
public JspCompiler(JspCompilationContext ctxt) throws JasperException
Method Detail |
public final java.lang.String getRealClassName()
public final java.lang.String getClassName()
Mangler
getClassName
in interface Mangler
public final java.lang.String getJavaFileName()
Mangler
getJavaFileName
in interface Mangler
public final java.lang.String getClassFileName()
Mangler
getClassFileName
in interface Mangler
public final java.lang.String getPackageName()
Mangler
getPackageName
in interface Mangler
public boolean isOutDated()
isOutDated
in class Compiler
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |