|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.sling.scripting.jsp.jasper.EmbeddedServletOptions
public final class EmbeddedServletOptions
A class to hold all init parameters specific to the JSP engine.
| Field Summary | |
|---|---|
boolean |
fork
Should Ant fork its java compiles of JSP pages. |
| Constructor Summary | |
|---|---|
EmbeddedServletOptions(javax.servlet.ServletConfig config,
javax.servlet.ServletContext context)
Create an EmbeddedServletOptions object using data available from ServletConfig and ServletContext. |
|
| Method Summary | |
|---|---|
boolean |
genStringAsCharArray()
Are Text strings to be generated as char arrays? |
boolean |
getClassDebugInfo()
Should class files be compiled with debug information? |
java.lang.String |
getClassPath()
What classpath should I use while compiling the servlets generated from JSP files? |
java.lang.String |
getCompiler()
Compiler to use. |
java.lang.String |
getCompilerClassName()
Java compiler class to use. |
java.lang.String |
getCompilerSourceVM()
Compiler source VM, e.g. 1.3, 1.4, or 1.5. |
java.lang.String |
getCompilerTargetVM()
The compiler target VM, e.g. 1.1, 1.2, 1.3, 1.4, or 1.5. |
boolean |
getDisplaySourceFragment()
Should we include a source fragment in exception messages, which could be displayed to the developer ? |
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()
boolean flag to tell Ant whether to fork JSP page compilations. |
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.ClassLoader |
getJspClassLoader()
Return null to force use of the JasperLoader. |
JspConfig |
getJspConfig()
Obtain JSP configuration informantion specified in web.xml. |
boolean |
getKeepGenerated()
Are we keeping generated code around? |
boolean |
getMappedFile()
Are we supporting HTML mapped servlets? |
java.lang.String |
getProperty(java.lang.String name)
|
java.lang.String |
getScratchDir()
What is my scratch dir? |
boolean |
getSendErrorToClient()
Should errors be sent to client or thrown into stderr? |
TagPluginManager |
getTagPluginManager()
Obtain a Tag Plugin Manager |
TldLocationsCache |
getTldLocationsCache()
The cache for the location of the TLD's for the various tag libraries 'exposed' by the web application. |
boolean |
getTrimSpaces()
Should white spaces between directives or actions be trimmed? |
boolean |
isPoolingEnabled()
Returns true if tag handler pooling is enabled, false otherwise. |
boolean |
isSmapDumped()
Should SMAP info for JSR45 debugging be dumped to a file? |
boolean |
isSmapSuppressed()
Is the generation of SMAP info for JSR45 debuggin suppressed? |
boolean |
isXpoweredBy()
Is generation of X-Powered-By response header enabled/disabled? |
void |
setErrorOnUseBeanInvalidClassAttribute(boolean b)
|
void |
setProperty(java.lang.String name,
java.lang.String value)
|
void |
setTldLocationsCache(TldLocationsCache tldC)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean fork
| Constructor Detail |
|---|
public EmbeddedServletOptions(javax.servlet.ServletConfig config,
javax.servlet.ServletContext context)
| Method Detail |
|---|
public java.lang.String getProperty(java.lang.String name)
public void setProperty(java.lang.String name,
java.lang.String value)
public boolean getKeepGenerated()
getKeepGenerated in interface Optionspublic boolean getTrimSpaces()
getTrimSpaces in interface Optionspublic boolean isPoolingEnabled()
Options
isPoolingEnabled in interface Optionspublic boolean getMappedFile()
getMappedFile in interface Optionspublic boolean getSendErrorToClient()
getSendErrorToClient in interface Optionspublic boolean getClassDebugInfo()
getClassDebugInfo in interface Optionspublic boolean isSmapSuppressed()
isSmapSuppressed in interface Optionspublic boolean isSmapDumped()
isSmapDumped in interface Optionspublic boolean genStringAsCharArray()
genStringAsCharArray in interface Optionspublic java.lang.String getIeClassId()
getIeClassId in interface Optionspublic java.lang.String getScratchDir()
getScratchDir in interface Optionspublic java.lang.String getClassPath()
public java.lang.ClassLoader getJspClassLoader()
null to force use of the JasperLoader.
public boolean isXpoweredBy()
isXpoweredBy in interface Optionspublic java.lang.String getCompiler()
getCompiler in interface Optionspublic java.lang.String getCompilerTargetVM()
Options
getCompilerTargetVM in interface OptionsOptions.getCompilerTargetVM()public java.lang.String getCompilerSourceVM()
Options
getCompilerSourceVM in interface OptionsOptions.getCompilerSourceVM()public java.lang.String getCompilerClassName()
getCompilerClassName in interface Optionspublic boolean getErrorOnUseBeanInvalidClassAttribute()
Options
getErrorOnUseBeanInvalidClassAttribute in interface Optionspublic void setErrorOnUseBeanInvalidClassAttribute(boolean b)
public TldLocationsCache getTldLocationsCache()
Options
getTldLocationsCache in interface Optionspublic void setTldLocationsCache(TldLocationsCache tldC)
public java.lang.String getJavaEncoding()
Options
getJavaEncoding in interface Optionspublic boolean getFork()
Options
getFork in interface Optionspublic JspConfig getJspConfig()
Options
getJspConfig in interface Optionspublic TagPluginManager getTagPluginManager()
Options
getTagPluginManager in interface Optionspublic boolean getDisplaySourceFragment()
getDisplaySourceFragment in interface Options
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||