Enum TdmDataKey

    • Enum Constant Detail

      • observation

        public static final TdmDataKey observation
        Observation wrapper.
      • COMMENT

        public static final TdmDataKey COMMENT
        Comment entry.
      • EPOCH

        public static final TdmDataKey EPOCH
        Epoch entry.
    • Method Detail

      • values

        public static TdmDataKey[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TdmDataKey c : TdmDataKey.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TdmDataKey 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
      • process

        public boolean process​(ParseToken token,
                               ContextBinding context,
                               ObservationsBlock observationsBlock)
        Process one token.
        Parameters:
        token - token to process
        context - context binding
        observationsBlock - observation block to fill
        Returns:
        true if token was accepted