Package com.luciad.format.nitf
Class TLcdNITFTextSegment
java.lang.Object
com.luciad.format.nitf.TLcdNITFTextSegment
This class represents a text segment from an NITF file
See MIL-STD-2500c, Table A-6
- Since:
- 2013.1
-
Method Summary
Modifier and TypeMethodDescriptionText Attachment Level.Text Classification Authority.Text Classification Authority Type.Text Classification Reason.Text Classification Text.Text Codewords.Text Control and Handling.Text Date and Time.Text Declassification Date.Text Declassification Exemption.Text Declassification Type.Text Downgrade.Text Downgrade Date.Encryption.File Part Type.Text Format.getId()
Text Identifier.Text Releasing Instructions.Text Security Classification.Text Security Classification System.Text Security Control Number.Text Security Source Date.getText()
The text segment text.getTitle()
Text Title.void
setAttachmentLevel
(String aAttachmentLevel) Text Attachment Level.void
setClassificationAuthority
(String aClassificationAuthority) Text Classification Authority.void
setClassificationAuthorityType
(String aClassificationAuthorityType) Text Classification Authority Type.void
setClassificationReason
(String aClassificationReason) Text Classification Reason.void
setClassificationText
(String aClassificationText) Text Classification Text.void
setCodewords
(String aCodewords) Text Codewords.void
setControlAndHandling
(String aControlAndHandling) Text Control and Handling.void
setDateAndTime
(String aDateAndTime) Text Date and Time.void
setDeclassificationDate
(String aDeclassificationDate) Text Declassification Date.void
setDeclassificationExemption
(String aDeclassificationExemption) Text Declassification Exemption.void
setDeclassificationType
(String aDeclassificationType) Text Declassification Type.void
setDowngrade
(String aDowngrade) Text Downgrade.void
setDowngradeDate
(String aDowngradeDate) Text Downgrade Date.void
setEncryption
(String aEncryption) Encryption.void
setFilePartType
(String aFilePartType) File Part Type.void
Text Format.void
Text Identifier.void
setReleasingInstructions
(String aReleasingInstructions) Text Releasing Instructions.void
setSecurityClassification
(String aSecurityClassification) Text Security Classification.void
setSecurityClassificationSystem
(String aSecurityClassificationSystem) Text Security Classification System.void
setSecurityControlNumber
(String aSecurityControlNumber) Text Security Control Number.void
setSecuritySourceDate
(String aSecuritySourceDate) Text Security Source Date.void
The text segment text.void
Text Title.
-
Method Details
-
getFilePartType
File Part Type. This field shall contain the characters "TE" to identify the subheader as a text subheader.- Returns:
- the file part type
-
setFilePartType
File Part Type. This field shall contain the characters "TE" to identify the subheader as a text subheader.- Parameters:
aFilePartType
- the file part type
-
getId
Text Identifier. This field shall contain a valid alphanumeric identification code associated with the text item. The valid codes are determined by the application.- Returns:
- the id
-
setId
Text Identifier. This field shall contain a valid alphanumeric identification code associated with the text item. The valid codes are determined by the application.- Parameters:
aId
- the id
-
getAttachmentLevel
Text Attachment Level. This field shall contain a valid value that indicates the attachment level of the text. Valid values for this field are 000 (BCS zeros (0x30)) or the display level value of any image or graphic in the file.- Returns:
- the attachment level
-
setAttachmentLevel
Text Attachment Level. This field shall contain a valid value that indicates the attachment level of the text. Valid values for this field are 000 (BCS zeros (0x30)) or the display level value of any image or graphic in the file.- Parameters:
aAttachmentLevel
- the attachment level
-
getDateAndTime
Text Date and Time. This field shall contain the time (UTC) (Zulu) of origination of the text in the format CCYYMMDDhhmmss, where CC is the century (00 to 99), YY is the last two digits of the year (00 to 99), MM is the month (01 to 12), DD is the day (01 to 31), hh is the hour (00 to 23), mm is the minute (00 to 59), and ss is the second (00 to 59). UTC (Zulu) is assumed to be the time zone designator to express the time of day. Refer to Paragraph 53.1.7d when a portion of the date and/or time is unknown.- Returns:
- the date and time
-
setDateAndTime
Text Date and Time. This field shall contain the time (UTC) (Zulu) of origination of the text in the format CCYYMMDDhhmmss, where CC is the century (00 to 99), YY is the last two digits of the year (00 to 99), MM is the month (01 to 12), DD is the day (01 to 31), hh is the hour (00 to 23), mm is the minute (00 to 59), and ss is the second (00 to 59). UTC (Zulu) is assumed to be the time zone designator to express the time of day. Refer to Paragraph 53.1.7d when a portion of the date and/or time is unknown.- Parameters:
aDateAndTime
- the date and time
-
getTitle
Text Title. This field shall contain the title of the text item.- Returns:
- the title
-
setTitle
Text Title. This field shall contain the title of the text item.- Parameters:
aTitle
- the title
-
getSecurityClassification
Text Security Classification. This field shall contain a valid value representing the classification level of the text. Valid values are T (=Top Secret), S (=Secret), C (=Confidential), R (=Restricted), U (=Unclassified).- Returns:
- the security classification
-
setSecurityClassification
Text Security Classification. This field shall contain a valid value representing the classification level of the text. Valid values are T (=Top Secret), S (=Secret), C (=Confidential), R (=Restricted), U (=Unclassified).- Parameters:
aSecurityClassification
- the security classification
-
getSecurityClassificationSystem
Text Security Classification System. This field shall contain valid values indicating the national or multinational security system used to classify the text. Country Codes per FIPS PUB 10-4 shall be used to indicate national security systems. The designator "XN" is for classified data generated by a component using NATO security system marking guidance. This code is outside the FIPS 10-4 document listing, and was selected to not duplicate that document's existing codes. If this field is all ECS spaces (0x20), it shall imply that no security classification system applies to the text.- Returns:
- the security classification system
-
setSecurityClassificationSystem
Text Security Classification System. This field shall contain valid values indicating the national or multinational security system used to classify the text. Country Codes per FIPS PUB 10-4 shall be used to indicate national security systems. The designator "XN" is for classified data generated by a component using NATO security system marking guidance. This code is outside the FIPS 10-4 document listing, and was selected to not duplicate that document's existing codes. If this field is all ECS spaces (0x20), it shall imply that no security classification system applies to the text.- Parameters:
aSecurityClassificationSystem
- the security classification system
-
getCodewords
Text Codewords. This field shall contain a valid indicator of the security compartments associated with the text. Values include one or more of the digraphs found in table A-4. Multiple entries shall be separated by a single ECS spaces (0x20): The selection of a relevant set of codewords is application specific. If this field is all ECS spaces (0x20), it shall imply that no codewords apply to the text.- Returns:
- the codewords
-
setCodewords
Text Codewords. This field shall contain a valid indicator of the security compartments associated with the text. Values include one or more of the digraphs found in table A-4. Multiple entries shall be separated by a single ECS spaces (0x20): The selection of a relevant set of codewords is application specific. If this field is all ECS spaces (0x20), it shall imply that no codewords apply to the text.- Parameters:
aCodewords
- the codewords
-
getControlAndHandling
Text Control and Handling. This field shall contain valid additional security control and/or handling instructions (caveats) associated with the text. Values include digraphs found in table A-4. The digraph may indicate single or multiple caveats. The selection of a relevant caveat(s) is application specific. If this field is all ECS spaces (0x20), it shall imply that no additional control and handling instructions apply to the text.- Returns:
- the control and handling
-
setControlAndHandling
Text Control and Handling. This field shall contain valid additional security control and/or handling instructions (caveats) associated with the text. Values include digraphs found in table A-4. The digraph may indicate single or multiple caveats. The selection of a relevant caveat(s) is application specific. If this field is all ECS spaces (0x20), it shall imply that no additional control and handling instructions apply to the text.- Parameters:
aControlAndHandling
- the control and handling
-
getReleasingInstructions
Text Releasing Instructions. This field shall contain a valid list of country and/or multilateral entity codes to which countries and/or multilateral entities the text is authorized for release. Valid items in the list are one or more country codes as found in FIPS PUB 10-4 and/or codes identifying multilateral entities. If this field is all ECS spaces (0x20), it shall imply that no text release instructions apply.- Returns:
- the releasing instructions
-
setReleasingInstructions
Text Releasing Instructions. This field shall contain a valid list of country and/or multilateral entity codes to which countries and/or multilateral entities the text is authorized for release. Valid items in the list are one or more country codes as found in FIPS PUB 10-4 and/or codes identifying multilateral entities. If this field is all ECS spaces (0x20), it shall imply that no text release instructions apply.- Parameters:
aReleasingInstructions
- the releasing instructions
-
getDeclassificationType
Text Declassification Type. This field shall contain a valid indicator of the type of security declassification or downgrading instructions which apply to the text. Valid values are DD (=declassify on a specific date), DE (=declassify upon occurrence of an event), GD (=downgrade to a specified level on a specific date), GE (=downgrade to a specified level upon occurrence of an event), O (=OADR), and X (= exempt from automatic declassification). If this field is all ECS spaces (0x20), it shall imply that no text security declassification or downgrading instructions apply.- Returns:
- the declassification type
-
setDeclassificationType
Text Declassification Type. This field shall contain a valid indicator of the type of security declassification or downgrading instructions which apply to the text. Valid values are DD (=declassify on a specific date), DE (=declassify upon occurrence of an event), GD (=downgrade to a specified level on a specific date), GE (=downgrade to a specified level upon occurrence of an event), O (=OADR), and X (= exempt from automatic declassification). If this field is all ECS spaces (0x20), it shall imply that no text security declassification or downgrading instructions apply.- Parameters:
aDeclassificationType
- the declassification type
-
getDeclassificationDate
Text Declassification Date. This field shall indicate the date on which a text is to be declassified if the value in Text Declassification Type is DD. If this field is all ECS spaces (0x20), it shall imply that no text declassification date applies.- Returns:
- the declassification date
-
setDeclassificationDate
Text Declassification Date. This field shall indicate the date on which a text is to be declassified if the value in Text Declassification Type is DD. If this field is all ECS spaces (0x20), it shall imply that no text declassification date applies.- Parameters:
aDeclassificationDate
- the declassification date
-
getDeclassificationExemption
Text Declassification Exemption. This field shall indicate the reason the text is exempt from automatic declassification if the value in Text Declassification Type is X. Valid values are X1 to X8 and X251 to X259. X1 to X8 correspond to the declassification exemptions found in DOD 5200.1-R, paragraphs 4- 202b(1) to (8) for material exempt from the 10-year rule. X251 to X259 correspond to the declassification exemptions found in DOD 5200.1-R, paragraphs 4- 301a(1) to (9) for permanently valuable material exempt from the 25-year declassification system. If this field is all ECS spaces (0x20), it shall imply that a text declassification exemption does not apply.- Returns:
- the declassification exemption
-
setDeclassificationExemption
Text Declassification Exemption. This field shall indicate the reason the text is exempt from automatic declassification if the value in Text Declassification Type is X. Valid values are X1 to X8 and X251 to X259. X1 to X8 correspond to the declassification exemptions found in DOD 5200.1-R, paragraphs 4- 202b(1) to (8) for material exempt from the 10-year rule. X251 to X259 correspond to the declassification exemptions found in DOD 5200.1-R, paragraphs 4- 301a(1) to (9) for permanently valuable material exempt from the 25-year declassification system. If this field is all ECS spaces (0x20), it shall imply that a text declassification exemption does not apply.- Parameters:
aDeclassificationExemption
- the declassification exemption
-
getDowngrade
Text Downgrade. This field shall indicate the classification level to which a text is to be downgraded if the values in Text Declassification Type are GD or GE. Valid values are S (=Secret), C (=Confidential), R (= Restricted). If this field contains an ECS space (0x20), it shall imply that text security downgrading does not apply.- Returns:
- the downgrade
-
setDowngrade
Text Downgrade. This field shall indicate the classification level to which a text is to be downgraded if the values in Text Declassification Type are GD or GE. Valid values are S (=Secret), C (=Confidential), R (= Restricted). If this field contains an ECS space (0x20), it shall imply that text security downgrading does not apply.- Parameters:
aDowngrade
- the downgrade
-
getDowngradeDate
Text Downgrade Date. This field shall indicate the date on which a text is to be downgraded if the value in Text Declassification Type is GD. If this field is all ECS spaces (0x20), it shall imply that a text security downgrading date does not apply.- Returns:
- the downgrade date
-
setDowngradeDate
Text Downgrade Date. This field shall indicate the date on which a text is to be downgraded if the value in Text Declassification Type is GD. If this field is all ECS spaces (0x20), it shall imply that a text security downgrading date does not apply.- Parameters:
aDowngradeDate
- the downgrade date
-
getClassificationText
Text Classification Text. This field shall be used to provide additional information about text classification to include identification of a declassification or downgrading event if the values in Text Declassification Type are DE or GE.. It may also be used to identify multiple classification sources and/or any other special handling rules. Values are user defined free text. If this field is all ECS spaces (0x20), it shall imply that additional information about text classification does not apply.- Returns:
- the classification text
-
setClassificationText
Text Classification Text. This field shall be used to provide additional information about text classification to include identification of a declassification or downgrading event if the values in Text Declassification Type are DE or GE.. It may also be used to identify multiple classification sources and/or any other special handling rules. Values are user defined free text. If this field is all ECS spaces (0x20), it shall imply that additional information about text classification does not apply.- Parameters:
aClassificationText
- the classification text
-
getClassificationAuthorityType
Text Classification Authority Type. This field shall indicate the type of authority used to classify the text. Valid values are O (= original classification authority), D (= derivative from a single source), and M (= derivative from multiple sources). If this field contains an ECS space (0x20), it shall imply that text classification authority type does not apply.- Returns:
- the classification authority type
-
setClassificationAuthorityType
Text Classification Authority Type. This field shall indicate the type of authority used to classify the text. Valid values are O (= original classification authority), D (= derivative from a single source), and M (= derivative from multiple sources). If this field contains an ECS space (0x20), it shall imply that text classification authority type does not apply.- Parameters:
aClassificationAuthorityType
- the classification authority type
-
getClassificationAuthority
Text Classification Authority. This field shall identify the classification authority for the text dependent upon the value in Text Classification Authority Type. Values are user defined free text which should contain the following information: original classification authority name and position or personal identifier if the value in Text Classification Authority Type is O; title of the document or security classification guide used to classify the text if the value in Text Classification Authority Type is D; and Derive-Multiple if the text classification was derived from multiple sources. In the latter case, the text originator will maintain a record of the sources used in accordance with existing security directives. One of the multiple sources may also be identified in Text Classification Text if desired. If this field is all ECS spaces (0x20), it shall imply that no text classification authority applies.- Returns:
- the classification authority
-
setClassificationAuthority
Text Classification Authority. This field shall identify the classification authority for the text dependent upon the value in Text Classification Authority Type. Values are user defined free text which should contain the following information: original classification authority name and position or personal identifier if the value in Text Classification Authority Type is O; title of the document or security classification guide used to classify the text if the value in Text Classification Authority Type is D; and Derive-Multiple if the text classification was derived from multiple sources. In the latter case, the text originator will maintain a record of the sources used in accordance with existing security directives. One of the multiple sources may also be identified in Text Classification Text if desired. If this field is all ECS spaces (0x20), it shall imply that no text classification authority applies.- Parameters:
aClassificationAuthority
- the classification authority
-
getClassificationReason
Text Classification Reason. This field shall contain values indicating the reason for classifying the text. Valid values are A to G. These correspond to the reasons for original classification per E.O. 12958, Section 1.5.(a) to (g). If this field contains an ECS space (0x20), it shall imply that no text classification reason applies.- Returns:
- the classification reason
-
setClassificationReason
Text Classification Reason. This field shall contain values indicating the reason for classifying the text. Valid values are A to G. These correspond to the reasons for original classification per E.O. 12958, Section 1.5.(a) to (g). If this field contains an ECS space (0x20), it shall imply that no text classification reason applies.- Parameters:
aClassificationReason
- the classification reason
-
getSecuritySourceDate
Text Security Source Date. This field shall indicate the date of the source used to derive the classification of the text. In the case of multiple sources, the date of the most recent source shall be used. If this field is all ECS spaces (0x20), it shall imply that a text security source date does not apply.- Returns:
- the security source date
-
setSecuritySourceDate
Text Security Source Date. This field shall indicate the date of the source used to derive the classification of the text. In the case of multiple sources, the date of the most recent source shall be used. If this field is all ECS spaces (0x20), it shall imply that a text security source date does not apply.- Parameters:
aSecuritySourceDate
- the security source date
-
getSecurityControlNumber
Text Security Control Number. This field shall contain a valid security control number associated with the text. The format of the security control number shall be in accordance with the regulations governing the appropriate security channel(s). If this field is all ECS spaces (0x20), it shall imply that no text security control number applies.- Returns:
- the security control number
-
setSecurityControlNumber
Text Security Control Number. This field shall contain a valid security control number associated with the text. The format of the security control number shall be in accordance with the regulations governing the appropriate security channel(s). If this field is all ECS spaces (0x20), it shall imply that no text security control number applies.- Parameters:
aSecurityControlNumber
- the security control number
-
getEncryption
Encryption. This field shall contain the value BCS zero (0x30) until such time as this specification is updated to define the use of other values.- Returns:
- the encryption
-
setEncryption
Encryption. This field shall contain the value BCS zero (0x30) until such time as this specification is updated to define the use of other values.- Parameters:
aEncryption
- the encryption
-
getFormat
Text Format. This field shall contain a valid three- character code indicating the format or type of text data. Valid codes are MTF to indicate USMTF (Refer to MIL-STD-6040 for examples of the USMTF format), STA to indicate BCS, UT1 to indicate ECS text formatting, and U8S to indicate U8S text formatting. Refer to paragraph 5.7.1 for additional discussion of standards and the BCS.- Returns:
- the format
-
setFormat
Text Format. This field shall contain a valid three- character code indicating the format or type of text data. Valid codes are MTF to indicate USMTF (Refer to MIL-STD-6040 for examples of the USMTF format), STA to indicate BCS, UT1 to indicate ECS text formatting, and U8S to indicate U8S text formatting. Refer to paragraph 5.7.1 for additional discussion of standards and the BCS.- Parameters:
aFormat
- the format
-
getText
The text segment text.- Returns:
- the text
-
setText
The text segment text.- Parameters:
aText
- the text
-