Enum Class XMLERSElement
- All Implemented Interfaces:
DSSElement
,Serializable
,Comparable<XMLERSElement>
,Constable
XMLERS elements
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionEncryptionInformationArchiveTimeStampChainArchiveTimeStampSequenceAttributeAttributesCanonicalizationMethodCryptographicInformationCryptographicInformationListDigestMethodDigestValueEncryptionInformationEncryptionInformationTypeEncryptionInformationValueEvidenceRecordHashTreeSequenceSupportingInformationSupportingInformationListTimeStampTimeStampToken -
Method Summary
Modifier and TypeMethodDescriptionReturns the namespaceReturns element tag namegetURI()
Returns namespace URIboolean
isSameTagName
(String value) Checks if the tag name matches to the current elementstatic XMLERSElement
Returns the enum constant of this class with the specified name.static XMLERSElement[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EVIDENCE_RECORD
EvidenceRecord -
ENCRYPTION_INFORMATION
EncryptionInformation -
ENCRYPTION_INFORMATION_TYPE
EncryptionInformationType -
ENCRYPTION_INFORMATION_VALUE
EncryptionInformationValue -
ARCHIVE_TIME_STAMP_SEQUENCE
ArchiveTimeStampSequence -
ARCHIVE_TIME_STAMP_CHAIN
ArchiveTimeStampChain -
DIGEST_METHOD
DigestMethod -
CANONICALIZATION_METHOD
CanonicalizationMethod -
ARCHIVE_TIME_STAMP
EncryptionInformation -
HASH_TREE
HashTree -
TIME_STAMP
TimeStamp -
ATTRIBUTES
Attributes -
TIME_STAMP_TOKEN
TimeStampToken -
CRYPTOGRAPHIC_INFORMATION_LIST
CryptographicInformationList -
CRYPTOGRAPHIC_INFORMATION
CryptographicInformation -
SEQUENCE
Sequence -
DIGEST_VALUE
DigestValue -
ATTRIBUTE
Attribute -
SUPPORTING_INFORMATION_LIST
SupportingInformationList -
SUPPORTING_INFORMATION
SupportingInformation
-
-
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
-
getNamespace
Description copied from interface:DSSElement
Returns the namespace- Specified by:
getNamespace
in interfaceDSSElement
- Returns:
DSSNamespace
-
getTagName
Description copied from interface:DSSElement
Returns element tag name- Specified by:
getTagName
in interfaceDSSElement
- Returns:
String
element tag name
-
getURI
Description copied from interface:DSSElement
Returns namespace URI- Specified by:
getURI
in interfaceDSSElement
- Returns:
String
uri
-
isSameTagName
Description copied from interface:DSSElement
Checks if the tag name matches to the current element- Specified by:
isSameTagName
in interfaceDSSElement
- Parameters:
value
-String
element name to compare- Returns:
- TRUE if the value matches, FALSE otherwise
-