Enum Element

  • All Implemented Interfaces:
    Serializable, Comparable<Element>

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

      • UNKNOWN

        public static final Element UNKNOWN
      • ATTRIBUTE

        public static final Element ATTRIBUTE
      • BODY_CONTENT

        public static final Element BODY_CONTENT
      • BODYCONTENT

        public static final Element BODYCONTENT
      • DECLARE

        public static final Element DECLARE
      • DEFERRED_METHOD

        public static final Element DEFERRED_METHOD
      • DEFERRED_VALUE

        public static final Element DEFERRED_VALUE
      • DYNAMIC_ATTRIBUTES

        public static final Element DYNAMIC_ATTRIBUTES
      • EXAMPLE

        public static final Element EXAMPLE
      • EXTENSION_ELEMENT

        public static final Element EXTENSION_ELEMENT
      • FRAGMENT

        public static final Element FRAGMENT
      • FUNCTION

        public static final Element FUNCTION
      • FUNCTION_CLASS

        public static final Element FUNCTION_CLASS
      • FUNCTION_EXTENSION

        public static final Element FUNCTION_EXTENSION
      • FUNCTION_SIGNATURE

        public static final Element FUNCTION_SIGNATURE
      • INFO

        public static final Element INFO
      • INIT_PARAM

        public static final Element INIT_PARAM
      • JSP_VERSION

        public static final Element JSP_VERSION
      • JSPVERSION

        public static final Element JSPVERSION
      • LARGE_ICON

        public static final Element LARGE_ICON
      • LISTENER

        public static final Element LISTENER
      • LISTENER_CLASS

        public static final Element LISTENER_CLASS
      • METHOD_SIGNATURE

        public static final Element METHOD_SIGNATURE
      • NAME

        public static final Element NAME
      • NAME_FROM_ATTRIBUTE

        public static final Element NAME_FROM_ATTRIBUTE
      • NAME_GIVEN

        public static final Element NAME_GIVEN
      • NAMESPACE

        public static final Element NAMESPACE
      • PATH

        public static final Element PATH
      • REQUIRED

        public static final Element REQUIRED
      • RTEXPRVALUE

        public static final Element RTEXPRVALUE
      • SCOPE

        public static final Element SCOPE
      • SHORT_NAME

        public static final Element SHORT_NAME
      • SHORTNAME

        public static final Element SHORTNAME
      • SMALL_ICON

        public static final Element SMALL_ICON
      • TAG_FILE

        public static final Element TAG_FILE
      • TAG

        public static final Element TAG
      • TAG_CLASS

        public static final Element TAG_CLASS
      • TAG_EXTENSION

        public static final Element TAG_EXTENSION
      • TAGCLASS

        public static final Element TAGCLASS
      • TAGLIB_EXTENSION

        public static final Element TAGLIB_EXTENSION
      • TEI_CLASS

        public static final Element TEI_CLASS
      • TEICLASS

        public static final Element TEICLASS
      • TLIB_VERSION

        public static final Element TLIB_VERSION
      • TLIBVERSION

        public static final Element TLIBVERSION
      • TYPE

        public static final Element TYPE
      • URI

        public static final Element URI
      • VALIDATOR

        public static final Element VALIDATOR
      • VALIDATOR_CLASS

        public static final Element VALIDATOR_CLASS
      • VARIABLE

        public static final Element VARIABLE
      • VARIABLE_CLASS

        public static final Element VARIABLE_CLASS
    • 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