Enum Class LabelAttribute
- All Implemented Interfaces:
Serializable,Comparable<LabelAttribute>,Constable,NitfAttribute<org.codice.imaging.nitf.core.label.LabelSegment>
public enum LabelAttribute
extends Enum<LabelAttribute>
implements NitfAttribute<org.codice.imaging.nitf.core.label.LabelSegment>
NitfAttributes to represent the properties of a LabelSegmentHeader.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionFunction<org.codice.imaging.nitf.core.label.LabelSegment,Serializable> Set<ddf.catalog.data.AttributeDescriptor>Function<org.codice.imaging.nitf.core.label.LabelSegment,Serializable> final Stringfinal StringtoString()Equivalent to getLongName()static LabelAttributeReturns the enum constant of this class with the specified name.static LabelAttribute[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FILE_PART_TYPE
-
LABEL_ID
-
LABEL_SECURITY_CLASSIFICATION
-
LABEL_CODEWORDS
-
LABEL_CONTROL_AND_HANDLING
-
LABEL_RELEASING_INSTRUCTIONS
-
LABEL_CLASSIFICATION_AUTHORITY
-
LABEL_SECURITY_CONTROL_NUMBER
-
LABEL_SECURITY_DOWNGRADE
-
LABEL_DOWNGRADING_EVENT
-
LABEL_CELL_WIDTH
-
LABEL_CELL_HEIGHT
-
LABEL_DISPLAY_LEVEL
-
ATTACHMENT_LEVEL
-
LABEL_LOCATION
-
LABEL_TEXT_COLOR
-
LABEL_BACKGROUND_COLOR
-
EXTENDED_SUBHEADER_DATA_LENGTH
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getShortName
- Specified by:
getShortNamein interfaceNitfAttribute<org.codice.imaging.nitf.core.label.LabelSegment>- Returns:
- the attribute's short name as listed in MIL-STD-2500C.
-
getLongName
- Specified by:
getLongNamein interfaceNitfAttribute<org.codice.imaging.nitf.core.label.LabelSegment>- Returns:
- the attribute's long name in CamelCase.
-
getAccessorFunction
- Specified by:
getAccessorFunctionin interfaceNitfAttribute<org.codice.imaging.nitf.core.label.LabelSegment>- 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
nullif the value cannot be computed.
-
getExtAccessorFunction
public Function<org.codice.imaging.nitf.core.label.LabelSegment,Serializable> getExtAccessorFunction()- Specified by:
getExtAccessorFunctionin interfaceNitfAttribute<org.codice.imaging.nitf.core.label.LabelSegment>- 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
nullif the value cannot be computed.
-
toString
Equivalent to getLongName()- Overrides:
toStringin classEnum<LabelAttribute>- Returns:
- the attribute's long name.
-
getAttributeDescriptors
- Specified by:
getAttributeDescriptorsin interfaceNitfAttribute<org.codice.imaging.nitf.core.label.LabelSegment>- Returns:
- AttributeDescriptors for this attribute.
-