Enum MarkType

java.lang.Object
java.lang.Enum<MarkType>
com.contentstack.utils.node.MarkType
All Implemented Interfaces:
Serializable, Comparable<MarkType>, java.lang.constant.Constable

public enum MarkType extends Enum<MarkType>
The enum Mark type.
  • Enum Constant Details

    • BOLD

      public static final MarkType BOLD
    • ITALIC

      public static final MarkType ITALIC
    • UNDERLINE

      public static final MarkType UNDERLINE
    • STRIKETHROUGH

      public static final MarkType STRIKETHROUGH
    • INLINECODE

      public static final MarkType INLINECODE
    • SUBSCRIPT

      public static final MarkType SUBSCRIPT
    • SUPERSCRIPT

      public static final MarkType SUPERSCRIPT
    • BREAK

      public static final MarkType BREAK
  • Method Details

    • values

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

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