Fields Summary |
---|
private org.apache.juli.logging.Log | log |
private Properties | settings |
private boolean | developmentIs Jasper being used in development mode? |
public boolean | forkShould Ant fork its java compiles of JSP pages. |
private boolean | keepGeneratedDo you want to keep the generated Java files around? |
private boolean | trimSpacesShould white spaces between directives or actions be trimmed? |
private boolean | isPoolingEnabledDetermines whether tag handler pooling is enabled. |
private boolean | mappedFileDo you want support for "mapped" files? This will generate
servlet that has a print statement per line of the JSP file.
This seems like a really nice feature to have for debugging. |
private boolean | sendErrorToClientDo you want stack traces and such displayed in the client's
browser? If this is false, such messages go to the standard
error or a log file if the standard error is redirected. |
private boolean | classDebugInfoDo we want to include debugging information in the class file? |
private int | checkIntervalBackground compile thread check interval in seconds. |
private boolean | isSmapSuppressedIs the generation of SMAP info for JSR45 debuggin suppressed? |
private boolean | isSmapDumpedShould SMAP info for JSR45 debugging be dumped to a file? |
private boolean | genStringAsCharArrayAre Text strings to be generated as char arrays? |
private boolean | errorOnUseBeanInvalidClassAttribute |
private File | scratchDirI want to see my generated servlets. Which directory are they
in? |
private String | ieClassIdNeed to have this as is for versions 4 and 5 of IE. Can be set from
the initParams so if it changes in the future all that is needed is
to have a jsp initParam of type ieClassId="" |
private String | classpathWhat classpath should I use while compiling generated servlets? |
private String | compilerCompiler to use. |
private String | compilerTargetVMCompiler target VM. |
private String | compilerSourceVMThe compiler source VM. |
private String | compilerClassNameThe compiler class name. |
private org.apache.jasper.compiler.TldLocationsCache | tldLocationsCacheCache for the TLD locations |
private org.apache.jasper.compiler.JspConfig | jspConfigJsp config information |
private org.apache.jasper.compiler.TagPluginManager | tagPluginManagerTagPluginManager |
private String | javaEncodingJava platform encoding to generate the JSP
page servlet. |
private int | modificationTestIntervalModification test interval. |
private boolean | xpoweredByIs generation of X-Powered-By response header enabled/disabled? |
private boolean | displaySourceFragmentShould we include a source fragment in exception messages, which could be displayed
to the developer ? |
Methods Summary |
---|
public boolean | genStringAsCharArray()Are Text strings to be generated as char arrays?
return this.genStringAsCharArray;
|
public java.util.Map | getCache()
return null;
|
public int | getCheckInterval()Background JSP compile thread check intervall
return checkInterval;
|
public boolean | getClassDebugInfo()Should class files be compiled with debug information?
return classDebugInfo;
|
public java.lang.String | getClassPath()What classpath should I use while compiling the servlets
generated from JSP files?
return classpath;
|
public java.lang.String | getCompiler()Compiler to use.
return compiler;
|
public java.lang.String | getCompilerClassName()Java compiler class to use.
return compilerClassName;
|
public java.lang.String | getCompilerSourceVM()
return compilerSourceVM;
|
public java.lang.String | getCompilerTargetVM()
return compilerTargetVM;
|
public boolean | getDevelopment()Is Jasper being used in development mode?
return development;
|
public boolean | getDisplaySourceFragment()Should we include a source fragment in exception messages, which could be displayed
to the developer ?
return displaySourceFragment;
|
public boolean | getErrorOnUseBeanInvalidClassAttribute()
return errorOnUseBeanInvalidClassAttribute;
|
public boolean | getFork()
return fork;
|
public java.lang.String | getIeClassId()Class ID for use in the plugin tag when the browser is IE.
return ieClassId;
|
public java.lang.String | getJavaEncoding()
return javaEncoding;
|
public org.apache.jasper.compiler.JspConfig | getJspConfig()
return jspConfig;
|
public boolean | getKeepGenerated()Are we keeping generated code around?
return keepGenerated;
|
public boolean | getMappedFile()Are we supporting HTML mapped servlets?
return mappedFile;
|
public int | getModificationTestInterval()Modification test interval.
return modificationTestInterval;
|
public java.lang.String | getProperty(java.lang.String name)
return settings.getProperty( name );
|
public java.io.File | getScratchDir()What is my scratch dir?
return scratchDir;
|
public boolean | getSendErrorToClient()Should errors be sent to client or thrown into stderr?
return sendErrorToClient;
|
public org.apache.jasper.compiler.TagPluginManager | getTagPluginManager()
return tagPluginManager;
|
public org.apache.jasper.compiler.TldLocationsCache | getTldLocationsCache()
return tldLocationsCache;
|
public boolean | getTrimSpaces()Should white spaces between directives or actions be trimmed?
return trimSpaces;
|
public boolean | isCaching()
return false;
|
public boolean | isPoolingEnabled()
return isPoolingEnabled;
|
public boolean | isSmapDumped()Should SMAP info for JSR45 debugging be dumped to a file?
return isSmapDumped;
|
public boolean | isSmapSuppressed()Is the generation of SMAP info for JSR45 debuggin suppressed?
return isSmapSuppressed;
|
public boolean | isXpoweredBy()Is generation of X-Powered-By response header enabled/disabled?
return xpoweredBy;
|
public void | setErrorOnUseBeanInvalidClassAttribute(boolean b)
errorOnUseBeanInvalidClassAttribute = b;
|
public void | setProperty(java.lang.String name, java.lang.String value)
if (name != null && value != null){
settings.setProperty( name, value );
}
|
public void | setTldLocationsCache(org.apache.jasper.compiler.TldLocationsCache tldC)
tldLocationsCache = tldC;
|