JSPTemplates

org.tp23.jasper.compiler
Interface Mangler

All Known Implementing Classes:
CommandLineCompiler, JspCompiler

public interface Mangler

You can control attributes like classname, packagename etc by plugging in your own mangler.

Author:
Anil K. Vijendran, Paul Hinds

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.
 

Method Detail

getClassName

public java.lang.String getClassName()
The class name ( without package ) of the generated servlet, including the version number

getPackageName

public java.lang.String getPackageName()
The package name. It is based on the .jsp path, with all unsafe components escaped.

getJavaFileName

public java.lang.String getJavaFileName()
The full name of the .java file, including version number ( based on className and outputDir )

getClassFileName

public java.lang.String getClassFileName()
The full name of the .class file ( without version number)

JSPTemplates