Enum Class HeaderKey

java.lang.Object
java.lang.Enum<HeaderKey>
org.orekit.files.ccsds.section.HeaderKey
All Implemented Interfaces:
Serializable, Comparable<HeaderKey>, Constable

public enum HeaderKey extends Enum<HeaderKey>
Keywords allowed in Header.
Since:
11.0
Author:
Luc Maisonobe
  • Enum Constant Details

    • COMMENT

      public static final HeaderKey COMMENT
      Header comment.
    • CLASSIFICATION

      public static final HeaderKey CLASSIFICATION
      Classification.
      Since:
      12.0
    • CREATION_DATE

      public static final HeaderKey CREATION_DATE
      Creation date.
    • ORIGINATOR

      public static final HeaderKey ORIGINATOR
      Creating agency or operator.
    • MESSAGE_ID

      public static final HeaderKey MESSAGE_ID
      ID that uniquely identifies a message from a given originator.
  • Method Details

    • values

      public static HeaderKey[] 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 HeaderKey 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
    • process

      public boolean process(ParseToken token, ContextBinding context, Header header)
      Process an token.
      Parameters:
      token - token to process
      context - context binding
      header - header to fill
      Returns:
      true of token was accepted