Enum Class HtmlTag

java.lang.Object
java.lang.Enum<HtmlTag>
io.micronaut.views.fields.HtmlTag
All Implemented Interfaces:
Serializable, Comparable<HtmlTag>, Constable

public enum HtmlTag extends Enum<HtmlTag>
Constants for HTML Tags.
Since:
4.1.0
Author:
Sergio del Amo
  • Enum Constant Details

    • INPUT

      public static final HtmlTag INPUT
      HTML Tag input.
    • SELECT

      public static final HtmlTag SELECT
      HTML Tag select.
    • DIV

      public static final HtmlTag DIV
      HTML Tag div.
    • TEXTAREA

      public static final HtmlTag TEXTAREA
      HTML Tag textarea.
    • OPTION

      public static final HtmlTag OPTION
      HTML Tag option.
    • LABEL

      public static final HtmlTag LABEL
      HTML Tag label.
    • TRIX_EDITOR

      public static final HtmlTag TRIX_EDITOR
      Trix editor tag.
      See Also:
  • Method Details

    • values

      public static HtmlTag[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HtmlTag valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<HtmlTag>