javax.servlet.descriptor

Interface JspPropertyGroupDescriptor


  • public interface JspPropertyGroupDescriptor
    This interface provides access to the <jsp-property-group> related configuration of a web application.

    The configuration is aggregated from the web.xml and web-fragment.xml descriptor files of the web application.

    Since:
    Servlet 3.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      String getBuffer()
      Gets the value of the buffer configuration, which specifies the default size of the response buffer for any JSP pages mapped to the JSP property group represented by this JspPropertyGroupDescriptor.
      String getDefaultContentType()
      Gets the value of the default-content-type configuration, which specifies the default response content type for any JSP pages mapped to the JSP property group represented by this JspPropertyGroupDescriptor.
      String getDeferredSyntaxAllowedAsLiteral()
      Gets the value of the deferred-syntax-allowed-as-literal configuration, which specifies whether the character sequence "#{", which is normally reserved for Expression Language (EL) expressions, will cause a translation error if it appears as a String literal in any JSP pages mapped to the JSP property group represented by this JspPropertyGroupDescriptor.
      String getElIgnored()
      Gets the value of the el-ignored configuration, which specifies whether Expression Language (EL) evaluation is enabled for any JSP pages mapped to the JSP property group represented by this JspPropertyGroupDescriptor.
      String getErrorOnUndeclaredNamespace()
      Gets the value of the error-on-undeclared-namespace configuration, which specifies whether an error will be raised at translation time if tag with an undeclared namespace is used in any JSP pages mapped to the JSP property group represented by this JspPropertyGroupDescriptor.
      Collection<String> getIncludeCodas()
      Gets the include-coda configuration of the JSP property group represented by this JspPropertyGroupDescriptor.
      Collection<String> getIncludePreludes()
      Gets the include-prelude configuration of the JSP property group represented by this JspPropertyGroupDescriptor.
      String getIsXml()
      Gets the value of the is-xml configuration, which specifies whether any JSP pages mapped to the JSP property group represented by this JspPropertyGroupDescriptor will be treated as JSP documents (XML syntax).
      String getPageEncoding()
      Gets the value of the page-encoding configuration, which specifies the default page encoding for any JSP pages mapped to the JSP property group represented by this JspPropertyGroupDescriptor.
      String getScriptingInvalid()
      Gets the value of the scripting-invalid configuration, which specifies whether scripting is enabled for any JSP pages mapped to the JSP property group represented by this JspPropertyGroupDescriptor.
      String getTrimDirectiveWhitespaces()
      Gets the value of the trim-directive-whitespaces configuration, which specifies whether template text containing only whitespaces must be removed from the response output of any JSP pages mapped to the JSP property group represented by this JspPropertyGroupDescriptor.
      Collection<String> getUrlPatterns()
      Gets the URL patterns of the JSP property group represented by this JspPropertyGroupDescriptor.

      Retour à la première page de API Java Table des matières Haut

    • Method Detail

      • getUrlPatterns

        Collection<String> getUrlPatterns()
        Gets the URL patterns of the JSP property group represented by this JspPropertyGroupDescriptor.

        Any changes to the returned Collection must not affect this JspPropertyGroupDescriptor.

        Returns:
        a (possibly empty) Collection of the URL patterns of the JSP property group represented by this JspPropertyGroupDescriptor
      • getElIgnored

        String getElIgnored()
        Gets the value of the el-ignored configuration, which specifies whether Expression Language (EL) evaluation is enabled for any JSP pages mapped to the JSP property group represented by this JspPropertyGroupDescriptor.
        Returns:
        the value of the el-ignored configuration, or null if unspecified
      • getPageEncoding

        String getPageEncoding()
        Gets the value of the page-encoding configuration, which specifies the default page encoding for any JSP pages mapped to the JSP property group represented by this JspPropertyGroupDescriptor.
        Returns:
        the value of the page-encoding configuration, or null if unspecified
      • getScriptingInvalid

        String getScriptingInvalid()
        Gets the value of the scripting-invalid configuration, which specifies whether scripting is enabled for any JSP pages mapped to the JSP property group represented by this JspPropertyGroupDescriptor.
        Returns:
        the value of the scripting-invalid configuration, or null if unspecified
      • getIsXml

        String getIsXml()
        Gets the value of the is-xml configuration, which specifies whether any JSP pages mapped to the JSP property group represented by this JspPropertyGroupDescriptor will be treated as JSP documents (XML syntax).
        Returns:
        the value of the is-xml configuration, or null if unspecified
      • getIncludePreludes

        Collection<String> getIncludePreludes()
        Gets the include-prelude configuration of the JSP property group represented by this JspPropertyGroupDescriptor.

        Any changes to the returned Collection must not affect this JspPropertyGroupDescriptor.

        Returns:
        a (possibly empty) Collection of the include-prelude configuration of the JSP property group represented by this JspPropertyGroupDescriptor
      • getIncludeCodas

        Collection<String> getIncludeCodas()
        Gets the include-coda configuration of the JSP property group represented by this JspPropertyGroupDescriptor.

        Any changes to the returned Collection must not affect this JspPropertyGroupDescriptor.

        Returns:
        a (possibly empty) Collection of the include-coda configuration of the JSP property group represented by this JspPropertyGroupDescriptor
      • getDeferredSyntaxAllowedAsLiteral

        String getDeferredSyntaxAllowedAsLiteral()
        Gets the value of the deferred-syntax-allowed-as-literal configuration, which specifies whether the character sequence "#{", which is normally reserved for Expression Language (EL) expressions, will cause a translation error if it appears as a String literal in any JSP pages mapped to the JSP property group represented by this JspPropertyGroupDescriptor.
        Returns:
        the value of the deferred-syntax-allowed-as-literal configuration, or null if unspecified
      • getTrimDirectiveWhitespaces

        String getTrimDirectiveWhitespaces()
        Gets the value of the trim-directive-whitespaces configuration, which specifies whether template text containing only whitespaces must be removed from the response output of any JSP pages mapped to the JSP property group represented by this JspPropertyGroupDescriptor.
        Returns:
        the value of the trim-directive-whitespaces configuration, or null if unspecified
      • getDefaultContentType

        String getDefaultContentType()
        Gets the value of the default-content-type configuration, which specifies the default response content type for any JSP pages mapped to the JSP property group represented by this JspPropertyGroupDescriptor.
        Returns:
        the value of the default-content-type configuration, or null if unspecified
      • getBuffer

        String getBuffer()
        Gets the value of the buffer configuration, which specifies the default size of the response buffer for any JSP pages mapped to the JSP property group represented by this JspPropertyGroupDescriptor.
        Returns:
        the value of the buffer configuration, or null if unspecified
      • getErrorOnUndeclaredNamespace

        String getErrorOnUndeclaredNamespace()
        Gets the value of the error-on-undeclared-namespace configuration, which specifies whether an error will be raised at translation time if tag with an undeclared namespace is used in any JSP pages mapped to the JSP property group represented by this JspPropertyGroupDescriptor.
        Returns:
        the value of the error-on-undeclared-namespace configuration, or null if unspecified

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Version en cache

21/08/2025 18:32:36 Cette version de la page est en cache (à la date du 21/08/2025 18:32:36) afin d'accélérer le traitement.
Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.

Document créé le 11/06/2005, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/servlet/descriptor/jsppropertygroupdescriptor.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.