Enum EnumDocStyle

java.lang.Object
java.lang.Enum<EnumDocStyle>
org.fugerit.java.doc.base.enums.EnumDocStyle
All Implemented Interfaces:
Serializable, Comparable<EnumDocStyle>

public enum EnumDocStyle extends Enum<EnumDocStyle>
  • Enum Constant Details

    • STYLE_NORMAL

      public static final EnumDocStyle STYLE_NORMAL
    • STYLE_BOLD

      public static final EnumDocStyle STYLE_BOLD
    • STYLE_UNDERLINE

      public static final EnumDocStyle STYLE_UNDERLINE
    • STYLE_ITALIC

      public static final EnumDocStyle STYLE_ITALIC
    • STYLE_BOLDITALIC

      public static final EnumDocStyle STYLE_BOLDITALIC
    • STYLE_UNSET

      public static final EnumDocStyle STYLE_UNSET
  • Method Details

    • values

      public static EnumDocStyle[] 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 EnumDocStyle 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

      public int getId()
    • getValue

      public String getValue()
    • fromValue

      public static EnumDocStyle fromValue(String value)
    • idFromValueWithDefault

      public static int idFromValueWithDefault(String value, int defaultStyle)