Enum EHTMLRoleType

    • Enum Constant Detail

      • ABSTRACT

        public static final EHTMLRoleType ABSTRACT
        Are used for the ontology. Authors MUST NOT not use abstract roles in content.
      • WIDGET

        public static final EHTMLRoleType WIDGET
        Act as standalone user interface widgets or as part of larger, composite widgets.
      • WIDGET_CONTAINER

        public static final EHTMLRoleType WIDGET_CONTAINER
        Act as composite user interface widgets. These roles typically act as containers that manage other, contained widgets.
      • DOCUMENT_STRUCTURE

        public static final EHTMLRoleType DOCUMENT_STRUCTURE
        Describe structures that organize content in a page. Document structures are not usually interactive.
      • LANDMARK

        public static final EHTMLRoleType LANDMARK
        Are regions of the page intended as navigational landmarks.
    • Method Detail

      • values

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

        public static EHTMLRoleType 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