Enum EXMLDOMFeature

  • All Implemented Interfaces:
    com.helger.commons.id.IHasID<String>, Serializable, Comparable<EXMLDOMFeature>

    public enum EXMLDOMFeature
    extends Enum<EXMLDOMFeature>
    implements com.helger.commons.id.IHasID<String>
    Represents different DOM features.
    See http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMFeatures
    Author:
    Philip Helger
    • Enum Constant Detail

      • DOM_FEATURE_CORE

        public static final EXMLDOMFeature DOM_FEATURE_CORE
      • DOM_FEATURE_EVENTS

        public static final EXMLDOMFeature DOM_FEATURE_EVENTS
      • DOM_FEATURE_UI_EVENTS

        public static final EXMLDOMFeature DOM_FEATURE_UI_EVENTS
      • DOM_FEATURE_MOUSE_EVENTS

        public static final EXMLDOMFeature DOM_FEATURE_MOUSE_EVENTS
      • DOM_FEATURE_TEXT_EVENTS

        public static final EXMLDOMFeature DOM_FEATURE_TEXT_EVENTS
      • DOM_FEATURE_KEYBOARD_EVENTS

        public static final EXMLDOMFeature DOM_FEATURE_KEYBOARD_EVENTS
      • DOM_FEATURE_MUTATION_EVENTS

        public static final EXMLDOMFeature DOM_FEATURE_MUTATION_EVENTS
      • DOM_FEATURE_MUTATION_NAME_EVENTS

        public static final EXMLDOMFeature DOM_FEATURE_MUTATION_NAME_EVENTS
      • DOM_FEATURE_HTML_EVENTS

        public static final EXMLDOMFeature DOM_FEATURE_HTML_EVENTS
      • DOM_FEATURE_LS_ASYNC

        public static final EXMLDOMFeature DOM_FEATURE_LS_ASYNC
      • DOM_FEATURE_VALIDATION

        public static final EXMLDOMFeature DOM_FEATURE_VALIDATION
      • DOM_FEATURE_XPATH

        public static final EXMLDOMFeature DOM_FEATURE_XPATH
    • Method Detail

      • values

        public static EXMLDOMFeature[] 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 (EXMLDOMFeature c : EXMLDOMFeature.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EXMLDOMFeature 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
      • getID

        @Nonnull
        @Nonempty
        public String getID()
        Specified by:
        getID in interface com.helger.commons.id.IHasID<String>