|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.apache.jasper.JspC
Shell for the jspc compiler. Handles all options associated with the command line and creates compilation contexts which it then compiles according to the specified options.
| Field Summary | |
static int |
ALL_WEBXML
|
static int |
DEFAULT_DIE_LEVEL
|
static java.lang.String |
DEFAULT_IE_CLASS_ID
|
static int |
INC_WEBXML
|
static int |
NO_DIE_LEVEL
|
static int |
NO_WEBXML
|
static java.lang.String |
SWITCH_CLASS_NAME
|
static java.lang.String |
SWITCH_DIE
|
static java.lang.String |
SWITCH_FILE_WEBAPP
|
static java.lang.String |
SWITCH_FULL_STOP
|
static java.lang.String |
SWITCH_IE_CLASS_ID
|
static java.lang.String |
SWITCH_MAPPED
|
static java.lang.String |
SWITCH_OUTPUT_DIR
|
static java.lang.String |
SWITCH_OUTPUT_SIMPLE_DIR
|
static java.lang.String |
SWITCH_PACKAGE_NAME
|
static java.lang.String |
SWITCH_QUIET
|
static java.lang.String |
SWITCH_URI_BASE
|
static java.lang.String |
SWITCH_URI_ROOT
|
static java.lang.String |
SWITCH_VERBOSE
|
static java.lang.String |
SWITCH_WEBAPP_INC
|
static java.lang.String |
SWITCH_WEBAPP_XML
|
| Constructor Summary | |
JspC(java.lang.String[] arg,
java.io.PrintStream log)
|
|
| Method Summary | |
boolean |
getClassDebugInfo()
Should we include debug information in compiled class? |
java.lang.String |
getClassPath()
What classpath should I use while compiling the servlets generated from JSP files? |
java.lang.String |
getIeClassId()
Class ID for use in the plugin tag when the browser is IE. |
java.lang.String |
getJavaEncoding()
Java platform encoding to generate the JSP page servlet. |
java.lang.String |
getJspCompilerPath()
Path of the compiler to use for compiling JSP pages. |
java.lang.Class |
getJspCompilerPlugin()
What compiler plugin should I use to compile the servlets generated from JSP files? |
int |
getJspVerbosityLevel()
|
boolean |
getKeepGenerated()
Are we keeping generated code around? |
boolean |
getLargeFile()
Are we supporting large files? |
boolean |
getMappedFile()
Are we supporting HTML mapped servlets? |
java.lang.Object |
getProtectionDomain()
|
java.io.File |
getScratchDir()
What is my scratch dir? |
boolean |
getSendErrorToClient()
Should errors be sent to client or thrown into stderr? |
TldLocationsCache |
getTldLocationsCache()
The cache for the location of the TLD's for the various tag libraries 'exposed' by the web application. |
static void |
main(java.lang.String[] arg)
|
boolean |
parseFile(java.io.PrintStream log,
java.lang.String file,
java.io.Writer servletout,
java.io.Writer mappingout)
|
void |
parseFiles(java.io.PrintStream log)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String DEFAULT_IE_CLASS_ID
public static final java.lang.String SWITCH_VERBOSE
public static final java.lang.String SWITCH_QUIET
public static final java.lang.String SWITCH_OUTPUT_DIR
public static final java.lang.String SWITCH_OUTPUT_SIMPLE_DIR
public static final java.lang.String SWITCH_IE_CLASS_ID
public static final java.lang.String SWITCH_PACKAGE_NAME
public static final java.lang.String SWITCH_CLASS_NAME
public static final java.lang.String SWITCH_FULL_STOP
public static final java.lang.String SWITCH_URI_BASE
public static final java.lang.String SWITCH_URI_ROOT
public static final java.lang.String SWITCH_FILE_WEBAPP
public static final java.lang.String SWITCH_WEBAPP_INC
public static final java.lang.String SWITCH_WEBAPP_XML
public static final java.lang.String SWITCH_MAPPED
public static final java.lang.String SWITCH_DIE
public static final int NO_WEBXML
public static final int INC_WEBXML
public static final int ALL_WEBXML
public static final int DEFAULT_DIE_LEVEL
public static final int NO_DIE_LEVEL
| Constructor Detail |
public JspC(java.lang.String[] arg,
java.io.PrintStream log)
| Method Detail |
public boolean getKeepGenerated()
OptionsgetKeepGenerated in interface Optionspublic boolean getLargeFile()
OptionsgetLargeFile in interface Optionspublic boolean getMappedFile()
getMappedFile in interface Optionspublic java.lang.Object getProtectionDomain()
public boolean getSendErrorToClient()
OptionsgetSendErrorToClient in interface Optionspublic boolean getClassDebugInfo()
OptionsgetClassDebugInfo in interface Optionspublic java.lang.String getIeClassId()
OptionsgetIeClassId in interface Optionspublic int getJspVerbosityLevel()
public java.io.File getScratchDir()
OptionsgetScratchDir in interface Optionspublic java.lang.Class getJspCompilerPlugin()
OptionsgetJspCompilerPlugin in interface Optionspublic java.lang.String getJspCompilerPath()
OptionsgetJspCompilerPath in interface Optionspublic TldLocationsCache getTldLocationsCache()
OptionsgetTldLocationsCache in interface Optionspublic java.lang.String getJavaEncoding()
OptionsgetJavaEncoding in interface Optionspublic java.lang.String getClassPath()
OptionsgetClassPath in interface Options
public boolean parseFile(java.io.PrintStream log,
java.lang.String file,
java.io.Writer servletout,
java.io.Writer mappingout)
public void parseFiles(java.io.PrintStream log)
throws JasperException
public static void main(java.lang.String[] arg)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||