Enum Class SymbolAttribute

java.lang.Object
java.lang.Enum<SymbolAttribute>
org.codice.alliance.transformer.nitf.image.SymbolAttribute
All Implemented Interfaces:
Serializable, Comparable<SymbolAttribute>, Constable, NitfAttribute<org.codice.imaging.nitf.core.symbol.SymbolSegment>

public enum SymbolAttribute extends Enum<SymbolAttribute> implements NitfAttribute<org.codice.imaging.nitf.core.symbol.SymbolSegment>
NitfAttributes to represent the properties of a SymbolSegment.
  • Enum Constant Details

    • FILE_PART_TYPE

      public static final SymbolAttribute FILE_PART_TYPE
    • SYMBOL_ID

      public static final SymbolAttribute SYMBOL_ID
    • SYMBOL_NAME

      public static final SymbolAttribute SYMBOL_NAME
    • SYMBOL_SECURITY_CLASSIFICATION

      public static final SymbolAttribute SYMBOL_SECURITY_CLASSIFICATION
    • SYMBOL_CODEWORDS

      public static final SymbolAttribute SYMBOL_CODEWORDS
    • SYMBOL_CONTROL_AND_HANDLING

      public static final SymbolAttribute SYMBOL_CONTROL_AND_HANDLING
    • SYMBOL_RELEASING_INSTRUCTIONS

      public static final SymbolAttribute SYMBOL_RELEASING_INSTRUCTIONS
    • SYMBOL_CLASSIFICATION_AUTHORITY

      public static final SymbolAttribute SYMBOL_CLASSIFICATION_AUTHORITY
    • SYMBOL_SECURITY_CONTROL_NUMBER

      public static final SymbolAttribute SYMBOL_SECURITY_CONTROL_NUMBER
    • SYMBOL_SECURITY_DOWNGRADE

      public static final SymbolAttribute SYMBOL_SECURITY_DOWNGRADE
    • SYMBOL_DOWNGRADING_EVENT

      public static final SymbolAttribute SYMBOL_DOWNGRADING_EVENT
    • SYMBOL_TYPE

      public static final SymbolAttribute SYMBOL_TYPE
    • NUMBER_OF_LINES_PER_SYMBOL

      public static final SymbolAttribute NUMBER_OF_LINES_PER_SYMBOL
    • NUMBER_OF_PIXELS_PER_LINE

      public static final SymbolAttribute NUMBER_OF_PIXELS_PER_LINE
    • LINE_WIDTH

      public static final SymbolAttribute LINE_WIDTH
    • NUMBER_OF_BITS_PER_PIXEL

      public static final SymbolAttribute NUMBER_OF_BITS_PER_PIXEL
    • DISPLAY_LEVEL

      public static final SymbolAttribute DISPLAY_LEVEL
    • ATTACHMENT_LEVEL

      public static final SymbolAttribute ATTACHMENT_LEVEL
    • SYMBOL_LOCATION

      public static final SymbolAttribute SYMBOL_LOCATION
    • SECOND_SYMBOL_LOCATION

      public static final SymbolAttribute SECOND_SYMBOL_LOCATION
    • SYMBOL_COLOR

      public static final SymbolAttribute SYMBOL_COLOR
    • SYMBOL_NUMBER

      public static final SymbolAttribute SYMBOL_NUMBER
    • SYMBOL_ROTATION

      public static final SymbolAttribute SYMBOL_ROTATION
    • EXTENDED_SUBHEADER_DATA_LENGTH

      public static final SymbolAttribute EXTENDED_SUBHEADER_DATA_LENGTH
  • Method Details

    • values

      public static SymbolAttribute[] 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 SymbolAttribute 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
    • getShortName

      public final String getShortName()
      Specified by:
      getShortName in interface NitfAttribute<org.codice.imaging.nitf.core.symbol.SymbolSegment>
      Returns:
      the attribute's short name as listed in MIL-STD-2500C.
    • getLongName

      public final String getLongName()
      Specified by:
      getLongName in interface NitfAttribute<org.codice.imaging.nitf.core.symbol.SymbolSegment>
      Returns:
      the attribute's long name in CamelCase.
    • getAccessorFunction

      public Function<org.codice.imaging.nitf.core.symbol.SymbolSegment,Serializable> getAccessorFunction()
      Specified by:
      getAccessorFunction in interface NitfAttribute<org.codice.imaging.nitf.core.symbol.SymbolSegment>
      Returns:
      a function that, given the CommonNitfSegment of type T, will return the corresponding value for the NitfAttribute as a Serializable. The function should return null if the value cannot be computed.
    • getExtAccessorFunction

      public Function<org.codice.imaging.nitf.core.symbol.SymbolSegment,Serializable> getExtAccessorFunction()
      [@inheritDoc}
      Specified by:
      getExtAccessorFunction in interface NitfAttribute<org.codice.imaging.nitf.core.symbol.SymbolSegment>
      Returns:
      a function that, given the CommonNitfSegment of type T, will return the corresponding value for the extended NitfAttribute as a Serializable. The function should return null if the value cannot be computed.
    • toString

      public String toString()
      Equivalent to getLongName()
      Overrides:
      toString in class Enum<SymbolAttribute>
      Returns:
      the attribute's long name.
    • getAttributeDescriptors

      public Set<ddf.catalog.data.AttributeDescriptor> getAttributeDescriptors()
      Specified by:
      getAttributeDescriptors in interface NitfAttribute<org.codice.imaging.nitf.core.symbol.SymbolSegment>
      Returns:
      AttributeDescriptors for this attribute.