Enum Element

  • All Implemented Interfaces:
    Serializable, Comparable<Element>

    public enum Element
    extends Enum<Element>
    An enumeration of all the possible XML elements in the web-app schema, by name.
    Author:
    Remy Maucherat
    • Enum Constant Detail

      • UNKNOWN

        public static final Element UNKNOWN
      • ABSOLUTE_ORDERING

        public static final Element ABSOLUTE_ORDERING
      • AFTER

        public static final Element AFTER
      • ASYNC_SUPPORTED

        public static final Element ASYNC_SUPPORTED
      • AUTH_CONSTRAINT

        public static final Element AUTH_CONSTRAINT
      • AUTH_METHOD

        public static final Element AUTH_METHOD
      • BEFORE

        public static final Element BEFORE
      • BUFFER

        public static final Element BUFFER
      • COMMENT

        public static final Element COMMENT
      • CONTEXT_PARAM

        public static final Element CONTEXT_PARAM
      • COOKIE_CONFIG

        public static final Element COOKIE_CONFIG
      • DEFAULT_CONTENT_TYPE

        public static final Element DEFAULT_CONTENT_TYPE
      • DEFAULT_CONTEXT_PATH

        public static final Element DEFAULT_CONTEXT_PATH
      • DEFERRED_SYNTAX_ALLOWED_AS_LITERAL

        public static final Element DEFERRED_SYNTAX_ALLOWED_AS_LITERAL
      • DENY_UNCOVERED_HTTP_METHODS

        public static final Element DENY_UNCOVERED_HTTP_METHODS
      • DISPATCHER

        public static final Element DISPATCHER
      • DISPLAY_NAME

        public static final Element DISPLAY_NAME
      • DISTRIBUTABLE

        public static final Element DISTRIBUTABLE
      • DOMAIN

        public static final Element DOMAIN
      • EL_IGNORED

        public static final Element EL_IGNORED
      • ERROR_ON_EL_NOT_FOUND

        public static final Element ERROR_ON_EL_NOT_FOUND
      • ENABLED

        public static final Element ENABLED
      • ENCODING

        public static final Element ENCODING
      • ERROR_CODE

        public static final Element ERROR_CODE
      • ERROR_ON_UNDECLARED_NAMESPACE

        public static final Element ERROR_ON_UNDECLARED_NAMESPACE
      • ERROR_PAGE

        public static final Element ERROR_PAGE
      • EXCEPTION_TYPE

        public static final Element EXCEPTION_TYPE
      • EXTENSION

        public static final Element EXTENSION
      • FILE_SIZE_THRESHOLD

        public static final Element FILE_SIZE_THRESHOLD
      • FILTER

        public static final Element FILTER
      • FILTER_CLASS

        public static final Element FILTER_CLASS
      • FILTER_NAME

        public static final Element FILTER_NAME
      • FILTER_MAPPING

        public static final Element FILTER_MAPPING
      • FORM_ERROR_PAGE

        public static final Element FORM_ERROR_PAGE
      • FORM_LOGIN_CONFIG

        public static final Element FORM_LOGIN_CONFIG
      • FORM_LOGIN_PAGE

        public static final Element FORM_LOGIN_PAGE
      • HTTP_METHOD

        public static final Element HTTP_METHOD
      • HTTP_METHOD_OMISSION

        public static final Element HTTP_METHOD_OMISSION
      • HTTP_ONLY

        public static final Element HTTP_ONLY
      • INCLUDE_CODA

        public static final Element INCLUDE_CODA
      • INCLUDE_PRELUDE

        public static final Element INCLUDE_PRELUDE
      • INIT_PARAM

        public static final Element INIT_PARAM
      • IS_XML

        public static final Element IS_XML
      • JSP_CONFIG

        public static final Element JSP_CONFIG
      • JSP_FILE

        public static final Element JSP_FILE
      • JSP_PROPERTY_GROUP

        public static final Element JSP_PROPERTY_GROUP
      • LISTENER

        public static final Element LISTENER
      • LISTENER_CLASS

        public static final Element LISTENER_CLASS
      • LOAD_ON_STARTUP

        public static final Element LOAD_ON_STARTUP
      • LOCALE_ENCODING_MAPPING

        public static final Element LOCALE_ENCODING_MAPPING
      • LOCALE_ENCODING_MAPPING_LIST

        public static final Element LOCALE_ENCODING_MAPPING_LIST
      • LOCALE

        public static final Element LOCALE
      • LOCATION

        public static final Element LOCATION
      • LOGIN_CONFIG

        public static final Element LOGIN_CONFIG
      • MAX_AGE

        public static final Element MAX_AGE
      • MAX_FILE_SIZE

        public static final Element MAX_FILE_SIZE
      • MAX_REQUEST_SIZE

        public static final Element MAX_REQUEST_SIZE
      • MESSAGE_DESTINATION

        public static final Element MESSAGE_DESTINATION
      • MIME_MAPPING

        public static final Element MIME_MAPPING
      • MIME_TYPE

        public static final Element MIME_TYPE
      • MODULE_NAME

        public static final Element MODULE_NAME
      • MULTIPART_CONFIG

        public static final Element MULTIPART_CONFIG
      • NAME

        public static final Element NAME
      • ORDERING

        public static final Element ORDERING
      • OTHERS

        public static final Element OTHERS
      • PAGE_ENCODING

        public static final Element PAGE_ENCODING
      • PATH

        public static final Element PATH
      • REALM_NAME

        public static final Element REALM_NAME
      • REQUEST_CHARACTER_ENCODING

        public static final Element REQUEST_CHARACTER_ENCODING
      • RESPONSE_CHARACTER_ENCODING

        public static final Element RESPONSE_CHARACTER_ENCODING
      • ROLE_NAME

        public static final Element ROLE_NAME
      • RUN_AS

        public static final Element RUN_AS
      • SCRIPTING_INVALID

        public static final Element SCRIPTING_INVALID
      • SECURE

        public static final Element SECURE
      • SECURITY_CONSTRAINT

        public static final Element SECURITY_CONSTRAINT
      • SECURITY_ROLE

        public static final Element SECURITY_ROLE
      • SECURITY_ROLE_REF

        public static final Element SECURITY_ROLE_REF
      • SERVLET

        public static final Element SERVLET
      • SERVLET_CLASS

        public static final Element SERVLET_CLASS
      • SERVLET_MAPPING

        public static final Element SERVLET_MAPPING
      • SERVLET_NAME

        public static final Element SERVLET_NAME
      • SESSION_CONFIG

        public static final Element SESSION_CONFIG
      • SESSION_TIMEOUT

        public static final Element SESSION_TIMEOUT
      • TAGLIB

        public static final Element TAGLIB
      • TAGLIB_LOCATION

        public static final Element TAGLIB_LOCATION
      • TAGLIB_URI

        public static final Element TAGLIB_URI
      • TRACKING_MODE

        public static final Element TRACKING_MODE
      • TRANSPORT_GUARANTEE

        public static final Element TRANSPORT_GUARANTEE
      • TRIM_DIRECTIVE_WHITESPACES

        public static final Element TRIM_DIRECTIVE_WHITESPACES
      • URL_PATTERN

        public static final Element URL_PATTERN
      • USER_DATA_CONSTRAINT

        public static final Element USER_DATA_CONSTRAINT
      • WEB_RESOURCE_COLLECTION

        public static final Element WEB_RESOURCE_COLLECTION
      • WEB_RESOURCE_NAME

        public static final Element WEB_RESOURCE_NAME
      • WELCOME_FILE

        public static final Element WELCOME_FILE
      • WELCOME_FILE_LIST

        public static final Element WELCOME_FILE_LIST
    • Method Detail

      • values

        public static Element[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Element c : Element.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Element valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getLocalName

        public String getLocalName()
        Get the local name of this element.
        Returns:
        the local name