org.apache.jasper
类 EmbeddedServletOptions

java.lang.Object
  继承者 org.apache.jasper.EmbeddedServletOptions
所有已实现的接口:
Options

public final class EmbeddedServletOptions
extends Object
implements Options

A class to hold all init parameters specific to the JSP engine.

作者:
Anil K. Vijendran, Hans Bergsten, Pierre Delisle

字段摘要
 boolean fork
          Should Ant fork its java compiles of JSP pages.
 
构造方法摘要
EmbeddedServletOptions(ServletConfig config, ServletContext context)
          Create an EmbeddedServletOptions object using data available from ServletConfig and ServletContext.
 
方法摘要
 boolean genStringAsByteArray()
          Are text strings to be generated as byte arrays, if the page is unbuffered?
 boolean genStringAsCharArray()
          Are Text strings to be generated as char arrays?
 int getCheckInterval()
          Background JSP compile thread check intervall
 boolean getClassDebugInfo()
          Should class files be compiled with debug information?
 String getClassPath()
          What classpath should I use while compiling the servlets generated from JSP files?
 String getCompiler()
          Compiler to use.
 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 getDevelopment()
          Is Jasper being used in development mode?
 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.
 int getInitialCapacity()
          Gets initial capacity of HashMap which maps JSPs to their corresponding servlets.
 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?
 int getModificationTestInterval()
          Modification test interval.
 String getProperty(String name)
           
 boolean getSaveBytecode()
          If class files are generated as byte arrays, should they be saved to disk at the end of compilations?
 File getScratchDir()
          What is my scratch dir?
 boolean getSendErrorToClient()
          Should errors be sent to client or thrown into stderr?
 String getSystemClassPath()
          Gets the system class path.
 TagPluginManager getTagPluginManager()
          Obtain a Tag Plugin Manager
 TldScanner getTldScanner()
          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 getUsePrecompiled()
          Returns the value of the usePrecompiled (or use-precompiled) init param.
 boolean isDefaultBufferNone()
          If the buffer attribute for the page directive is not specified, is the default "none"?
 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 isValidationEnabled()
           
 boolean isXpoweredBy()
          Is generation of X-Powered-By response header enabled/disabled?
 void setErrorOnUseBeanInvalidClassAttribute(boolean b)
           
 void setProperty(String name, String value)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

fork

public boolean fork
Should Ant fork its java compiles of JSP pages.

构造方法详细信息

EmbeddedServletOptions

public EmbeddedServletOptions(ServletConfig config,
                              ServletContext context)
Create an EmbeddedServletOptions object using data available from ServletConfig and ServletContext.

方法详细信息

getProperty

public String getProperty(String name)

setProperty

public void setProperty(String name,
                        String value)

getKeepGenerated

public boolean getKeepGenerated()
Are we keeping generated code around?

指定者:
接口 Options 中的 getKeepGenerated

getSaveBytecode

public boolean getSaveBytecode()
从接口 Options 复制的描述
If class files are generated as byte arrays, should they be saved to disk at the end of compilations?

指定者:
接口 Options 中的 getSaveBytecode

getTrimSpaces

public boolean getTrimSpaces()
Should white spaces between directives or actions be trimmed?

指定者:
接口 Options 中的 getTrimSpaces

isPoolingEnabled

public boolean isPoolingEnabled()
从接口 Options 复制的描述
Returns true if tag handler pooling is enabled, false otherwise.

指定者:
接口 Options 中的 isPoolingEnabled

getMappedFile

public boolean getMappedFile()
Are we supporting HTML mapped servlets?

指定者:
接口 Options 中的 getMappedFile

getSendErrorToClient

public boolean getSendErrorToClient()
Should errors be sent to client or thrown into stderr?

指定者:
接口 Options 中的 getSendErrorToClient

getClassDebugInfo

public boolean getClassDebugInfo()
Should class files be compiled with debug information?

指定者:
接口 Options 中的 getClassDebugInfo

getCheckInterval

public int getCheckInterval()
Background JSP compile thread check intervall

指定者:
接口 Options 中的 getCheckInterval

getModificationTestInterval

public int getModificationTestInterval()
Modification test interval.

指定者:
接口 Options 中的 getModificationTestInterval

getDevelopment

public boolean getDevelopment()
Is Jasper being used in development mode?

指定者:
接口 Options 中的 getDevelopment

isSmapSuppressed

public boolean isSmapSuppressed()
Is the generation of SMAP info for JSR45 debuggin suppressed?

指定者:
接口 Options 中的 isSmapSuppressed

isSmapDumped

public boolean isSmapDumped()
Should SMAP info for JSR45 debugging be dumped to a file?

指定者:
接口 Options 中的 isSmapDumped

genStringAsCharArray

public boolean genStringAsCharArray()
Are Text strings to be generated as char arrays?

指定者:
接口 Options 中的 genStringAsCharArray

genStringAsByteArray

public boolean genStringAsByteArray()
从接口 Options 复制的描述
Are text strings to be generated as byte arrays, if the page is unbuffered?

指定者:
接口 Options 中的 genStringAsByteArray

isDefaultBufferNone

public boolean isDefaultBufferNone()
从接口 Options 复制的描述
If the buffer attribute for the page directive is not specified, is the default "none"?

指定者:
接口 Options 中的 isDefaultBufferNone

getIeClassId

public String getIeClassId()
Class ID for use in the plugin tag when the browser is IE.

指定者:
接口 Options 中的 getIeClassId

getScratchDir

public File getScratchDir()
What is my scratch dir?

指定者:
接口 Options 中的 getScratchDir

getClassPath

public String getClassPath()
What classpath should I use while compiling the servlets generated from JSP files?

指定者:
接口 Options 中的 getClassPath

getSystemClassPath

public String getSystemClassPath()
Gets the system class path.

指定者:
接口 Options 中的 getSystemClassPath
返回:
The system class path

isXpoweredBy

public boolean isXpoweredBy()
Is generation of X-Powered-By response header enabled/disabled?

指定者:
接口 Options 中的 isXpoweredBy

getCompiler

public String getCompiler()
Compiler to use.

指定者:
接口 Options 中的 getCompiler

getCompilerTargetVM

public String getCompilerTargetVM()
从接口 Options 复制的描述
The compiler target VM, e.g. 1.1, 1.2, 1.3, 1.4, or 1.5.

指定者:
接口 Options 中的 getCompilerTargetVM
另请参见:
Options.getCompilerTargetVM()

getCompilerSourceVM

public String getCompilerSourceVM()
从接口 Options 复制的描述
Compiler source VM, e.g. 1.3, 1.4, or 1.5.

指定者:
接口 Options 中的 getCompilerSourceVM
另请参见:
Options.getCompilerSourceVM()

getErrorOnUseBeanInvalidClassAttribute

public boolean getErrorOnUseBeanInvalidClassAttribute()
从接口 Options 复制的描述
Returns true if Jasper issues a compilation error instead of a runtime Instantiation error if the class attribute specified in useBean action is invalid.

指定者:
接口 Options 中的 getErrorOnUseBeanInvalidClassAttribute

setErrorOnUseBeanInvalidClassAttribute

public void setErrorOnUseBeanInvalidClassAttribute(boolean b)

getTldScanner

public TldScanner getTldScanner()
从接口 Options 复制的描述
The cache for the location of the TLD's for the various tag libraries 'exposed' by the web application. A tag library is 'exposed' either explicitely in web.xml or implicitely via the uri tag in the TLD of a taglib deployed in a jar file (WEB-INF/lib).

指定者:
接口 Options 中的 getTldScanner
返回:
the instance of the TldScanner for the web-application.

getJavaEncoding

public String getJavaEncoding()
从接口 Options 复制的描述
Java platform encoding to generate the JSP page servlet.

指定者:
接口 Options 中的 getJavaEncoding

getFork

public boolean getFork()
从接口 Options 复制的描述
boolean flag to tell Ant whether to fork JSP page compilations.

指定者:
接口 Options 中的 getFork

getJspConfig

public JspConfig getJspConfig()
从接口 Options 复制的描述
Obtain JSP configuration informantion specified in web.xml.

指定者:
接口 Options 中的 getJspConfig

getTagPluginManager

public TagPluginManager getTagPluginManager()
从接口 Options 复制的描述
Obtain a Tag Plugin Manager

指定者:
接口 Options 中的 getTagPluginManager

getInitialCapacity

public int getInitialCapacity()
Gets initial capacity of HashMap which maps JSPs to their corresponding servlets.

指定者:
接口 Options 中的 getInitialCapacity

getUsePrecompiled

public boolean getUsePrecompiled()
Returns the value of the usePrecompiled (or use-precompiled) init param.

指定者:
接口 Options 中的 getUsePrecompiled

isValidationEnabled

public boolean isValidationEnabled()
指定者:
接口 Options 中的 isValidationEnabled


Copyright © 2013. All Rights Reserved.