Enum Class ToneTag

java.lang.Object
java.lang.Enum<ToneTag>
org.languagetool.ToneTag
All Implemented Interfaces:
Serializable, Comparable<ToneTag>, Constable

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

    • clarity

      public static final ToneTag clarity
    • formal

      public static final ToneTag formal
    • professional

      public static final ToneTag professional
    • confident

      public static final ToneTag confident
    • academic

      public static final ToneTag academic
    • povrem

      public static final ToneTag povrem
    • scientific

      public static final ToneTag scientific
    • objective

      public static final ToneTag objective
    • persuasive

      public static final ToneTag persuasive
    • informal

      public static final ToneTag informal
    • povadd

      public static final ToneTag povadd
    • positive

      public static final ToneTag positive
    • general

      public static final ToneTag general
    • NO_TONE_RULE

      public static final ToneTag NO_TONE_RULE
    • ALL_TONE_RULES

      public static final ToneTag ALL_TONE_RULES
    • ALL_WITHOUT_GOAL_SPECIFIC

      public static final ToneTag ALL_WITHOUT_GOAL_SPECIFIC
  • Field Details

    • REAL_TONE_TAGS

      public static final List<ToneTag> REAL_TONE_TAGS
  • Constructor Details

    • ToneTag

      private ToneTag()
  • Method Details

    • values

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