public interface Options
Modifier and Type | Method and Description |
---|---|
boolean |
genStringAsCharArray()
Indicates whether text strings are to be generated as char arrays.
|
Map<String,TagLibraryInfo> |
getCache()
The web-application wide cache for the TagLibraryInfo tag library
descriptors, used if
isCaching() returns true . |
int |
getCheckInterval() |
boolean |
getClassDebugInfo() |
String |
getClassPath() |
String |
getCompiler()
Compiler to use.
|
String |
getCompilerClassName() |
String |
getCompilerSourceVM() |
String |
getCompilerTargetVM() |
boolean |
getDevelopment()
Main development flag, which enables detailed error reports with
sources, as well automatic recompilation of JSPs and tag files.
|
boolean |
getDisplaySourceFragment() |
boolean |
getErrorOnUseBeanInvalidClassAttribute()
Returns true if Jasper issues a compilation error instead of a runtime
Instantiation error if the class attribute specified in useBean action
is invalid.
|
boolean |
getFork()
The boolean flag to tell Ant whether to fork JSP page compilations.
|
String |
getIeClassId()
Gets the class-id value that is sent to Internet Explorer when using
<jsp:plugin> tags.
|
String |
getJavaEncoding() |
JspConfig |
getJspConfig() |
int |
getJspIdleTimeout() |
boolean |
getKeepGenerated() |
boolean |
getMappedFile() |
int |
getMaxLoadedJsps()
The maximum number of loaded jsps per web-application.
|
int |
getModificationTestInterval() |
boolean |
getQuoteAttributeEL() |
boolean |
getRecompileOnFail() |
File |
getScratchDir() |
boolean |
getStrictQuoteEscaping() |
TagPluginManager |
getTagPluginManager() |
TldCache |
getTldCache()
The cache that maps URIs, resource paths and parsed TLD files for the
various tag libraries 'exposed' by the web application.
|
boolean |
getTrimSpaces() |
boolean |
isCaching() |
boolean |
isPoolingEnabled() |
boolean |
isSmapDumped()
This setting is ignored if suppressSmap() is
true . |
boolean |
isSmapSuppressed() |
boolean |
isXpoweredBy() |
boolean getErrorOnUseBeanInvalidClassAttribute()
true
to get an errorboolean getKeepGenerated()
true
to keep the generated sourceboolean isPoolingEnabled()
true
if tag handler pooling is enabled,
false
otherwise.boolean getMappedFile()
true
if HTML mapped Servlets are supported.boolean getClassDebugInfo()
true
if debug information in included
in compiled classes.int getCheckInterval()
boolean getDevelopment()
false
when running
in production.true
if Jasper is in development modeboolean getDisplaySourceFragment()
true
to include a source fragment in exception
messages.boolean isSmapSuppressed()
true
to suppress generation of SMAP info for
JSR45 debugging.boolean isSmapDumped()
true
.true
to write SMAP info for JSR45 debugging to a
file.boolean getTrimSpaces()
true
to trim white spaces between
directives or actions.String getIeClassId()
File getScratchDir()
String getClassPath()
String getCompiler()
If null
(the default), the java compiler from Eclipse JDT
project, bundled with Tomcat, will be used. Otherwise, the
javac
task from Apache Ant will be used to call an external
java compiler and the value of this option will be passed to it. See
Apache Ant documentation for the possible values.
String getCompilerTargetVM()
String getCompilerSourceVM()
String getCompilerClassName()
TldCache getTldCache()
String getJavaEncoding()
boolean getFork()
Is used only when Jasper uses an external java compiler (wrapped through
a javac
Apache Ant task).
true
to fork a process during compilationJspConfig getJspConfig()
boolean isXpoweredBy()
true
to generate a X-Powered-By response header.TagPluginManager getTagPluginManager()
boolean genStringAsCharArray()
true
if text strings are to be generated as char
arrays, false
otherwiseint getModificationTestInterval()
boolean getRecompileOnFail()
true
if re-compile will occur on a failure.boolean isCaching()
true
is caching is enabled
(used for precompilation).Map<String,TagLibraryInfo> getCache()
isCaching()
returns true
.
Using this cache avoids the cost of repeating the parsing of a tag library descriptor XML file (performed by TagLibraryInfoImpl.parseTLD).
int getMaxLoadedJsps()
int getJspIdleTimeout()
boolean getStrictQuoteEscaping()
true
if the quote escaping required by section JSP.1.6 of
the JSP specification should be applied to scriplet expression.boolean getQuoteAttributeEL()
true
if EL expressions used within attributes should have
the quoting rules in JSP.1.6 applied to the expression.Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.