Class JspPropertyGroup


  • public class JspPropertyGroup
    extends XmlEncodingBase
    Representation of a jsp-property-group element in web.xml.
    • Constructor Summary

      Constructors 
      Constructor Description
      JspPropertyGroup()
      Creates a new JspPropertyGroup instance with default settings.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addIncludeCoda​(java.lang.String includeCoda)
      Adds an include coda file path.
      void addIncludePrelude​(java.lang.String includePrelude)
      Adds an include prelude file path.
      void addUrlPattern​(java.lang.String urlPattern)
      Adds a URL pattern (URL-decoded) to this property group.
      void addUrlPatternDecoded​(java.lang.String urlPattern)
      Adds a pre-decoded URL pattern to this property group.
      java.lang.String getBuffer()
      Returns the buffer size for pages in this group.
      java.lang.String getDefaultContentType()
      Returns the default content type for pages in this group.
      java.lang.Boolean getDeferredSyntax()
      Returns whether deferred syntax is allowed as literal.
      java.lang.Boolean getElIgnored()
      Returns whether EL is ignored.
      java.lang.Boolean getErrorOnELNotFound()
      Returns whether to error on EL not found.
      java.lang.Boolean getErrorOnUndeclaredNamespace()
      Returns whether to error on undeclared namespace.
      java.util.Collection<java.lang.String> getIncludeCodas()
      Returns the collection of include coda file paths.
      java.util.Collection<java.lang.String> getIncludePreludes()
      Returns the collection of include prelude file paths.
      java.lang.Boolean getIsXml()
      Returns whether the pages in this group are XML.
      java.lang.String getPageEncoding()
      Returns the page encoding for pages in this group.
      java.lang.Boolean getScriptingInvalid()
      Returns whether scripting is invalid for pages in this group.
      java.lang.Boolean getTrimWhitespace()
      Returns whether to trim directive whitespaces.
      java.util.Set<java.lang.String> getUrlPatterns()
      Returns the set of URL patterns for this property group.
      void setBuffer​(java.lang.String buffer)
      Sets the buffer size for pages in this group.
      void setDefaultContentType​(java.lang.String defaultContentType)
      Sets the default content type for pages in this group.
      void setDeferredSyntax​(java.lang.String deferredSyntax)
      Sets whether deferred syntax is allowed as literal.
      void setElIgnored​(java.lang.String elIgnored)
      Sets whether EL is ignored.
      void setErrorOnELNotFound​(java.lang.String errorOnELNotFound)
      Sets whether to error on EL not found.
      void setErrorOnUndeclaredNamespace​(java.lang.String errorOnUndeclaredNamespace)
      Sets whether to error on undeclared namespace.
      void setIsXml​(java.lang.String isXml)
      Sets whether the pages in this group are XML.
      void setPageEncoding​(java.lang.String pageEncoding)
      Sets the page encoding for pages in this group.
      void setScriptingInvalid​(java.lang.String scriptingInvalid)
      Sets whether scripting is invalid for pages in this group.
      void setTrimWhitespace​(java.lang.String trimWhitespace)
      Sets whether to trim directive whitespaces.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JspPropertyGroup

        public JspPropertyGroup()
        Creates a new JspPropertyGroup instance with default settings.
    • Method Detail

      • setDeferredSyntax

        public void setDeferredSyntax​(java.lang.String deferredSyntax)
        Sets whether deferred syntax is allowed as literal.
        Parameters:
        deferredSyntax - the deferred syntax setting as a string boolean
      • getDeferredSyntax

        public java.lang.Boolean getDeferredSyntax()
        Returns whether deferred syntax is allowed as literal.
        Returns:
        the deferred syntax setting, or null if not set
      • setErrorOnELNotFound

        public void setErrorOnELNotFound​(java.lang.String errorOnELNotFound)
        Sets whether to error on EL not found.
        Parameters:
        errorOnELNotFound - the setting as a string boolean
      • getErrorOnELNotFound

        public java.lang.Boolean getErrorOnELNotFound()
        Returns whether to error on EL not found.
        Returns:
        the error on EL not found setting, or null if not set
      • setElIgnored

        public void setElIgnored​(java.lang.String elIgnored)
        Sets whether EL is ignored.
        Parameters:
        elIgnored - the EL ignored setting as a string boolean
      • getElIgnored

        public java.lang.Boolean getElIgnored()
        Returns whether EL is ignored.
        Returns:
        the EL ignored setting, or null if not set
      • addIncludeCoda

        public void addIncludeCoda​(java.lang.String includeCoda)
        Adds an include coda file path.
        Parameters:
        includeCoda - the include coda file path
      • getIncludeCodas

        public java.util.Collection<java.lang.String> getIncludeCodas()
        Returns the collection of include coda file paths.
        Returns:
        the include codas collection
      • addIncludePrelude

        public void addIncludePrelude​(java.lang.String includePrelude)
        Adds an include prelude file path.
        Parameters:
        includePrelude - the include prelude file path
      • getIncludePreludes

        public java.util.Collection<java.lang.String> getIncludePreludes()
        Returns the collection of include prelude file paths.
        Returns:
        the include preludes collection
      • setIsXml

        public void setIsXml​(java.lang.String isXml)
        Sets whether the pages in this group are XML.
        Parameters:
        isXml - the XML setting as a string boolean
      • getIsXml

        public java.lang.Boolean getIsXml()
        Returns whether the pages in this group are XML.
        Returns:
        the XML setting, or null if not set
      • setPageEncoding

        public void setPageEncoding​(java.lang.String pageEncoding)
        Sets the page encoding for pages in this group.
        Parameters:
        pageEncoding - the page encoding
      • getPageEncoding

        public java.lang.String getPageEncoding()
        Returns the page encoding for pages in this group.
        Returns:
        the page encoding, or null if not set
      • setScriptingInvalid

        public void setScriptingInvalid​(java.lang.String scriptingInvalid)
        Sets whether scripting is invalid for pages in this group.
        Parameters:
        scriptingInvalid - the scripting invalid setting as a string boolean
      • getScriptingInvalid

        public java.lang.Boolean getScriptingInvalid()
        Returns whether scripting is invalid for pages in this group.
        Returns:
        the scripting invalid setting, or null if not set
      • setTrimWhitespace

        public void setTrimWhitespace​(java.lang.String trimWhitespace)
        Sets whether to trim directive whitespaces.
        Parameters:
        trimWhitespace - the trim whitespace setting as a string boolean
      • getTrimWhitespace

        public java.lang.Boolean getTrimWhitespace()
        Returns whether to trim directive whitespaces.
        Returns:
        the trim whitespace setting, or null if not set
      • addUrlPattern

        public void addUrlPattern​(java.lang.String urlPattern)
        Adds a URL pattern (URL-decoded) to this property group.
        Parameters:
        urlPattern - the URL pattern to add
      • addUrlPatternDecoded

        public void addUrlPatternDecoded​(java.lang.String urlPattern)
        Adds a pre-decoded URL pattern to this property group.
        Parameters:
        urlPattern - the decoded URL pattern to add
      • getUrlPatterns

        public java.util.Set<java.lang.String> getUrlPatterns()
        Returns the set of URL patterns for this property group.
        Returns:
        the URL patterns
      • setDefaultContentType

        public void setDefaultContentType​(java.lang.String defaultContentType)
        Sets the default content type for pages in this group.
        Parameters:
        defaultContentType - the default content type
      • getDefaultContentType

        public java.lang.String getDefaultContentType()
        Returns the default content type for pages in this group.
        Returns:
        the default content type, or null if not set
      • setBuffer

        public void setBuffer​(java.lang.String buffer)
        Sets the buffer size for pages in this group.
        Parameters:
        buffer - the buffer size setting
      • getBuffer

        public java.lang.String getBuffer()
        Returns the buffer size for pages in this group.
        Returns:
        the buffer size, or null if not set
      • setErrorOnUndeclaredNamespace

        public void setErrorOnUndeclaredNamespace​(java.lang.String errorOnUndeclaredNamespace)
        Sets whether to error on undeclared namespace.
        Parameters:
        errorOnUndeclaredNamespace - the setting as a string boolean
      • getErrorOnUndeclaredNamespace

        public java.lang.Boolean getErrorOnUndeclaredNamespace()
        Returns whether to error on undeclared namespace.
        Returns:
        the error on undeclared namespace setting, or null if not set