Enum Class PGNTag

java.lang.Object
java.lang.Enum<PGNTag>
io.github.wolfraam.chessgame.pgn.PGNTag
All Implemented Interfaces:
Serializable, Comparable<PGNTag>, Constable

public enum PGNTag extends Enum<PGNTag>
Supported PGN tags.
  • Enum Constant Details

    • EVENT

      public static final PGNTag EVENT
    • EVENT_DATE

      public static final PGNTag EVENT_DATE
    • EVENT_TYPE

      public static final PGNTag EVENT_TYPE
    • EVENT_ROUNDS

      public static final PGNTag EVENT_ROUNDS
    • EVENT_COUNTRY

      public static final PGNTag EVENT_COUNTRY
    • EVENT_CATEGORY

      public static final PGNTag EVENT_CATEGORY
    • SITE

      public static final PGNTag SITE
    • DATE

      public static final PGNTag DATE
    • ROUND

      public static final PGNTag ROUND
    • BOARD

      public static final PGNTag BOARD
    • WHITE

      public static final PGNTag WHITE
    • BLACK

      public static final PGNTag BLACK
    • RESULT

      public static final PGNTag RESULT
    • BLACK_TITLE

      public static final PGNTag BLACK_TITLE
    • BLACK_ELO

      public static final PGNTag BLACK_ELO
    • BLACK_TEAM

      public static final PGNTag BLACK_TEAM
    • BLACK_TEAM_COUNTRY

      public static final PGNTag BLACK_TEAM_COUNTRY
    • BLACK_FIDE_ID

      public static final PGNTag BLACK_FIDE_ID
    • WHITE_TITLE

      public static final PGNTag WHITE_TITLE
    • WHITE_ELO

      public static final PGNTag WHITE_ELO
    • WHITE_TEAM

      public static final PGNTag WHITE_TEAM
    • WHITE_TEAM_COUNTRY

      public static final PGNTag WHITE_TEAM_COUNTRY
    • WHITE_FIDE_ID

      public static final PGNTag WHITE_FIDE_ID
    • ECO

      public static final PGNTag ECO
    • TIME_CONTROL

      public static final PGNTag TIME_CONTROL
    • TERMINATION

      public static final PGNTag TERMINATION
    • CURRENT_POSITION

      public static final PGNTag CURRENT_POSITION
    • TIMEZONE

      public static final PGNTag TIMEZONE
    • ECO_URL

      public static final PGNTag ECO_URL
    • UTC_DATE

      public static final PGNTag UTC_DATE
    • UTC_TIME

      public static final PGNTag UTC_TIME
    • START_TIME

      public static final PGNTag START_TIME
    • END_DATE

      public static final PGNTag END_DATE
    • END_TIME

      public static final PGNTag END_TIME
    • OPENING

      public static final PGNTag OPENING
    • VARIATION

      public static final PGNTag VARIATION
    • FEN

      public static final PGNTag FEN
    • SET_UP

      public static final PGNTag SET_UP
    • VARIANT

      public static final PGNTag VARIANT
    • ANNOTATOR

      public static final PGNTag ANNOTATOR
    • DEPTH

      public static final PGNTag DEPTH
    • TOURNAMENT

      public static final PGNTag TOURNAMENT
    • MATCH

      public static final PGNTag MATCH
  • Method Details

    • values

      public static PGNTag[] 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 PGNTag 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
    • getTag

      public String getTag()