Modifier and Type | Field and Description |
---|---|
static String |
AUTOMATIC_VERSION
Value for automatic source/target version setting.
|
boolean |
fork
Should Ant fork its java compiles of JSP pages.
|
Constructor and Description |
---|
JspServletOptions(javax.servlet.ServletContext servletContext,
IOProvider ioProvider,
org.osgi.service.component.ComponentContext componentContext,
TldLocationsCache tldLocationsCache)
Create an JspServletOptions object using data available from
ServletConfig and ServletContext.
|
Modifier and Type | Method and Description |
---|---|
boolean |
genStringAsCharArray()
Are Text strings to be generated as char arrays?
|
boolean |
getClassDebugInfo()
Should class files be compiled with debug information?
|
String |
getCompiler()
Allways return null for the compiler to use, assuming JDT is the default
which we will never overwrite.
|
String |
getCompilerClassName()
Allways return null for the compiler to use, assuming JDT is the default
which we will never overwrite.
|
String |
getCompilerSourceVM()
Compiler source VM, e.g. 1.3, 1.4, or 1.5.
|
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.
|
String |
getIeClassId()
Class ID for use in the plugin tag when the browser is IE.
|
String |
getJavaEncoding()
Java platform encoding to generate the JSP
page servlet.
|
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?
|
Map<String,String> |
getProperties() |
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 debugging suppressed?
|
boolean |
isXpoweredBy()
Is generation of X-Powered-By response header enabled/disabled?
|
void |
setErrorOnUseBeanInvalidClassAttribute(boolean b) |
void |
setTldLocationsCache(TldLocationsCache tldC) |
public static final String AUTOMATIC_VERSION
public boolean fork
public JspServletOptions(javax.servlet.ServletContext servletContext, IOProvider ioProvider, org.osgi.service.component.ComponentContext componentContext, TldLocationsCache tldLocationsCache)
public boolean getKeepGenerated()
getKeepGenerated
in interface Options
public boolean getTrimSpaces()
getTrimSpaces
in interface Options
public boolean isPoolingEnabled()
Options
isPoolingEnabled
in interface Options
public boolean getMappedFile()
getMappedFile
in interface Options
public boolean getSendErrorToClient()
getSendErrorToClient
in interface Options
public boolean getClassDebugInfo()
getClassDebugInfo
in interface Options
public boolean isSmapSuppressed()
isSmapSuppressed
in interface Options
public boolean isSmapDumped()
isSmapDumped
in interface Options
public boolean genStringAsCharArray()
genStringAsCharArray
in interface Options
public String getIeClassId()
getIeClassId
in interface Options
public boolean isXpoweredBy()
isXpoweredBy
in interface Options
public String getCompiler()
getCompiler
in interface Options
public String getCompilerTargetVM()
Options
getCompilerTargetVM
in interface Options
Options.getCompilerTargetVM()
public String getCompilerSourceVM()
Options
getCompilerSourceVM
in interface Options
Options.getCompilerSourceVM()
public boolean getErrorOnUseBeanInvalidClassAttribute()
Options
getErrorOnUseBeanInvalidClassAttribute
in interface Options
public void setErrorOnUseBeanInvalidClassAttribute(boolean b)
public TldLocationsCache getTldLocationsCache()
Options
getTldLocationsCache
in interface Options
public void setTldLocationsCache(TldLocationsCache tldC)
public String getJavaEncoding()
Options
getJavaEncoding
in interface Options
public boolean getFork()
Options
public JspConfig getJspConfig()
Options
getJspConfig
in interface Options
public TagPluginManager getTagPluginManager()
Options
getTagPluginManager
in interface Options
public boolean getDisplaySourceFragment()
Options
getDisplaySourceFragment
in interface Options
public String getCompilerClassName()
getCompilerClassName
in interface Options
public String getScratchDir()
Options
getScratchDir
in interface Options
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.