Enum PropertyType.IndentStyleValue

java.lang.Object
java.lang.Enum<PropertyType.IndentStyleValue>
org.ec4j.core.model.PropertyType.IndentStyleValue
All Implemented Interfaces:
Serializable, Comparable<PropertyType.IndentStyleValue>, java.lang.constant.Constable
Enclosing class:
PropertyType<T>

public static enum PropertyType.IndentStyleValue extends Enum<PropertyType.IndentStyleValue>
An enumeration of allowed indentation style values.
  • Enum Constant Details

  • Field Details

    • VALUE_SET

      private static final Set<String> VALUE_SET
    • displayValue

      private final String displayValue
    • indentChar

      private final char indentChar
  • Constructor Details

    • IndentStyleValue

      private IndentStyleValue(String displayValue, char indentChar)
  • Method Details

    • values

      public static PropertyType.IndentStyleValue[] 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 PropertyType.IndentStyleValue 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
    • valueSet

      public static Set<String> valueSet()
    • getIndentChar

      public char getIndentChar()
      Returns:
      a space or tab character