Class JspConfig.JspProperty
java.lang.Object
org.apache.jasper.compiler.JspConfig.JspProperty
- Enclosing class:
JspConfig
Represents the JSP property configuration values for a JSP page or group of pages.
-
Constructor Summary
ConstructorsConstructorDescriptionJspProperty(String isXml, String elIgnored, String errorOnELNotFound, String scriptingInvalid, String pageEncoding, Collection<String> includePrelude, Collection<String> includeCoda, String deferedSyntaxAllowedAsLiteral, String trimDirectiveWhitespaces, String defaultContentType, String buffer, String errorOnUndeclaredNamespace) Creates a new JspProperty instance with the specified configuration values. -
Method Summary
Modifier and TypeMethodDescriptionReturns the buffer size configuration.Returns the default content type.Returns whether to error on EL not found.Returns the collection of include coda files.Returns the collection of include prelude files.Returns the page encoding.Returns whether deferred syntax is allowed as literal.Returns whether EL is ignored.Returns whether to error on undeclared namespace.Returns whether scripting is invalid.Returns whether to trim directive whitespaces.isXml()Returns whether the page is XML.
-
Constructor Details
-
JspProperty
public JspProperty(String isXml, String elIgnored, String errorOnELNotFound, String scriptingInvalid, String pageEncoding, Collection<String> includePrelude, Collection<String> includeCoda, String deferedSyntaxAllowedAsLiteral, String trimDirectiveWhitespaces, String defaultContentType, String buffer, String errorOnUndeclaredNamespace) Creates a new JspProperty instance with the specified configuration values.- Parameters:
isXml- whether the page is XMLelIgnored- whether EL is ignorederrorOnELNotFound- whether to error on EL not foundscriptingInvalid- whether scripting is invalidpageEncoding- the page encodingincludePrelude- the include preludesincludeCoda- the include codasdeferedSyntaxAllowedAsLiteral- whether deferred syntax is allowed as literaltrimDirectiveWhitespaces- whether to trim directive whitespacesdefaultContentType- the default content typebuffer- the buffer sizeerrorOnUndeclaredNamespace- whether to error on undeclared namespace
-
-
Method Details
-
isXml
-
isELIgnored
Returns whether EL is ignored.- Returns:
- the elIgnored value, or null if not set
-
getErrorOnELNotFound
Returns whether to error on EL not found.- Returns:
- the errorOnELNotFound value
-
isScriptingInvalid
Returns whether scripting is invalid.- Returns:
- the scriptingInvalid value, or null if not set
-
getPageEncoding
Returns the page encoding.- Returns:
- the page encoding, or null if not set
-
getIncludePrelude
Returns the collection of include prelude files.- Returns:
- the include preludes, or null if not set
-
getIncludeCoda
Returns the collection of include coda files.- Returns:
- the include codas, or null if not set
-
isDeferedSyntaxAllowedAsLiteral
Returns whether deferred syntax is allowed as literal.- Returns:
- the deferred syntax allowed as literal value
-
isTrimDirectiveWhitespaces
Returns whether to trim directive whitespaces.- Returns:
- the trim directive whitespaces value, or null if not set
-
getDefaultContentType
Returns the default content type.- Returns:
- the default content type, or null if not set
-
getBuffer
Returns the buffer size configuration.- Returns:
- the buffer value, or null if not set
-
isErrorOnUndeclaredNamespace
Returns whether to error on undeclared namespace.- Returns:
- the errorOnUndeclaredNamespace value
-