Enum Class OlMarkerType

java.lang.Object
java.lang.Enum<OlMarkerType>
com.oorian.html.elements.consts.OlMarkerType
All Implemented Interfaces:
Serializable, Comparable<OlMarkerType>, Constable

public enum OlMarkerType extends Enum<OlMarkerType>
Enumeration defining the marker types for ordered lists (ol elements). This enum provides type-safe constants for the ordered list's "type" attribute, which specifies the numbering style for list items.
Since:
1.0
Version:
1.0
Author:
Marvin P. Warble Jr.
See Also:
  • Enum Constant Details

    • ONE

      public static final OlMarkerType ONE
      Decimal numbers (1, 2, 3, 4...). This is the default numbering style for ordered lists.
    • A

      public static final OlMarkerType A
      Uppercase alphabetic (A, B, C, D...). Uses capital letters for list item markers.
    • a

      public static final OlMarkerType a
      Lowercase alphabetic (a, b, c, d...). Uses lowercase letters for list item markers.
    • I

      public static final OlMarkerType I
      Uppercase Roman numerals (I, II, III, IV...). Uses capital Roman numerals for list item markers.
    • i

      public static final OlMarkerType i
      Lowercase Roman numerals (i, ii, iii, iv...). Uses lowercase Roman numerals for list item markers.
  • Method Details

    • values

      public static OlMarkerType[] 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 OlMarkerType 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
    • getValue

      public String getValue()
      Gets the marker type value for use in ordered list elements.
      Returns:
      the string value used in HTML type attribute.
    • toString

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