Enum DigitalMessageFormat

java.lang.Object
java.lang.Enum<DigitalMessageFormat>
edu.nps.moves.dis7.enumerations.DigitalMessageFormat
All Implemented Interfaces:
Serializable, Comparable<DigitalMessageFormat>, Constable

public enum DigitalMessageFormat extends Enum<DigitalMessageFormat>
This enum type is generated from XML, UID 582, marshal size 8; DigitalMessageFormat has 10 enumerations total.
See Also:
  • Enum Constant Details

    • BINARY_FILE

      public static final DigitalMessageFormat BINARY_FILE
      Binary File
    • VARIABLE_MESSAGE_FORMAT_VMF_K_SERIES_MESSAGE

      public static final DigitalMessageFormat VARIABLE_MESSAGE_FORMAT_VMF_K_SERIES_MESSAGE
      Variable Message Format (VMF) (K-series) message
    • NATIONAL_IMAGERY_TRANSMISSION_FORMAT_SYSTEM_NITFS

      public static final DigitalMessageFormat NATIONAL_IMAGERY_TRANSMISSION_FORMAT_SYSTEM_NITFS
      National Imagery Transmission Format System (NITFS)
    • FORWARDED_MESSAGE_FWD_MSG

      public static final DigitalMessageFormat FORWARDED_MESSAGE_FWD_MSG
      Forwarded Message (FWD MSG)
    • UNITED_STATES_MESSAGE_TEXT_FORMAT_USMTF

      public static final DigitalMessageFormat UNITED_STATES_MESSAGE_TEXT_FORMAT_USMTF
      United States Message Text Format (USMTF)
    • DOI_103

      public static final DigitalMessageFormat DOI_103
      DOI-103
    • EXTENSIBLE_MARKUP_LANGUAGE_XML_MESSAGE_TEXT_FORMAT_MTF

      public static final DigitalMessageFormat EXTENSIBLE_MARKUP_LANGUAGE_XML_MESSAGE_TEXT_FORMAT_MTF
      eXtensible Markup Language (XML) - Message Text Format (MTF)
    • EXTENSIBLE_MARKUP_LANGUAGE_XML_VARIABLE_MESSAGE_FORMAT_VMF

      public static final DigitalMessageFormat EXTENSIBLE_MARKUP_LANGUAGE_XML_VARIABLE_MESSAGE_FORMAT_VMF
      eXtensible Markup Language (XML) - Variable Message Format (VMF)
    • AFAPD

      public static final DigitalMessageFormat AFAPD
      AFAPD
  • Method Details

    • values

      public static DigitalMessageFormat[] 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 DigitalMessageFormat 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
    • getValue

      public int getValue()
      Provide enumeration value
      Returns:
      integer value
    • getDescription

      public String getDescription()
      Provide enumeration description
      Returns:
      description
    • getEnumBitWidth

      public static int getEnumBitWidth()
      bit width for this enumeration
      Returns:
      number of bits wide
    • getEnumForValue

      public static DigitalMessageFormat getEnumForValue(int value)
      Provide enumeration for a given value
      Parameters:
      value - integer value of interest
      Returns:
      enumeration corresponding to numeric value
    • setTRACE

      public void setTRACE(boolean value)
      Set tracing on/off for this object
      Parameters:
      value - whether tracing is on or off
    • getTRACE

      public boolean getTRACE()
      Whether tracing is on or off for this object
      Returns:
      whether tracing is on or off
    • marshal

      public void marshal(DataOutputStream dos) throws IOException
      Marshal value to DataOutputStream
      Parameters:
      dos - DataOutputStream for output
      Throws:
      IOException - input-output error
      See Also:
    • marshal

      public void marshal(ByteBuffer byteBuffer) throws Exception
      Marshal value to ByteBuffer
      Parameters:
      byteBuffer - ByteBuffer for output
      Throws:
      IOException - input-output error
      Exception
      See Also:
    • unmarshalEnum

      public static DigitalMessageFormat unmarshalEnum(DataInputStream dis) throws Exception
      Unmarshal value to DataInputStream
      Parameters:
      dis - DataInputStream for input
      Returns:
      enumeration of interest
      Throws:
      Exception - unmarshalling input-output error
      See Also:
    • unmarshalEnum

      public static DigitalMessageFormat unmarshalEnum(ByteBuffer byteBuffer) throws Exception
      Unmarshal enumeration value to ByteBuffer
      Parameters:
      byteBuffer - ByteBuffer for input
      Returns:
      enumeration of interest
      Throws:
      Exception - unmarshalling input-output error
      See Also:
    • getMarshalledSize

      public int getMarshalledSize()
      Returns size of this serialized (marshalled) object in bytes
      Returns:
      serialized size in bytes
      See Also:
    • getName

      public String getName()
      Provide name
      Returns:
      name
    • toString

      public String toString()
      Provide simple identifier
      Overrides:
      toString in class Enum<DigitalMessageFormat>
      Returns:
      class name, value and name