Class JspConfig.JspProperty

java.lang.Object
org.apache.jasper.compiler.JspConfig.JspProperty
Enclosing class:
JspConfig

public static class JspConfig.JspProperty extends Object
Represents the JSP property configuration values for a JSP page or group of pages.
  • 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 XML
      elIgnored - whether EL is ignored
      errorOnELNotFound - whether to error on EL not found
      scriptingInvalid - whether scripting is invalid
      pageEncoding - the page encoding
      includePrelude - the include preludes
      includeCoda - the include codas
      deferedSyntaxAllowedAsLiteral - whether deferred syntax is allowed as literal
      trimDirectiveWhitespaces - whether to trim directive whitespaces
      defaultContentType - the default content type
      buffer - the buffer size
      errorOnUndeclaredNamespace - whether to error on undeclared namespace
  • Method Details

    • isXml

      public String isXml()
      Returns whether the page is XML.
      Returns:
      the isXml value, or null if not set
    • isELIgnored

      public String isELIgnored()
      Returns whether EL is ignored.
      Returns:
      the elIgnored value, or null if not set
    • getErrorOnELNotFound

      public String getErrorOnELNotFound()
      Returns whether to error on EL not found.
      Returns:
      the errorOnELNotFound value
    • isScriptingInvalid

      public String isScriptingInvalid()
      Returns whether scripting is invalid.
      Returns:
      the scriptingInvalid value, or null if not set
    • getPageEncoding

      public String getPageEncoding()
      Returns the page encoding.
      Returns:
      the page encoding, or null if not set
    • getIncludePrelude

      public Collection<String> getIncludePrelude()
      Returns the collection of include prelude files.
      Returns:
      the include preludes, or null if not set
    • getIncludeCoda

      public Collection<String> getIncludeCoda()
      Returns the collection of include coda files.
      Returns:
      the include codas, or null if not set
    • isDeferedSyntaxAllowedAsLiteral

      public String isDeferedSyntaxAllowedAsLiteral()
      Returns whether deferred syntax is allowed as literal.
      Returns:
      the deferred syntax allowed as literal value
    • isTrimDirectiveWhitespaces

      public String isTrimDirectiveWhitespaces()
      Returns whether to trim directive whitespaces.
      Returns:
      the trim directive whitespaces value, or null if not set
    • getDefaultContentType

      public String getDefaultContentType()
      Returns the default content type.
      Returns:
      the default content type, or null if not set
    • getBuffer

      public String getBuffer()
      Returns the buffer size configuration.
      Returns:
      the buffer value, or null if not set
    • isErrorOnUndeclaredNamespace

      public String isErrorOnUndeclaredNamespace()
      Returns whether to error on undeclared namespace.
      Returns:
      the errorOnUndeclaredNamespace value