Enum Class XMLERSElement

java.lang.Object
java.lang.Enum<XMLERSElement>
eu.europa.esig.dss.evidencerecord.xml.definition.XMLERSElement
All Implemented Interfaces:
DSSElement, Serializable, Comparable<XMLERSElement>, Constable

public enum XMLERSElement extends Enum<XMLERSElement> implements DSSElement
XMLERS elements
  • Enum Constant Details

    • EVIDENCE_RECORD

      public static final XMLERSElement EVIDENCE_RECORD
      EvidenceRecord
    • ENCRYPTION_INFORMATION

      public static final XMLERSElement ENCRYPTION_INFORMATION
      EncryptionInformation
    • ENCRYPTION_INFORMATION_TYPE

      public static final XMLERSElement ENCRYPTION_INFORMATION_TYPE
      EncryptionInformationType
    • ENCRYPTION_INFORMATION_VALUE

      public static final XMLERSElement ENCRYPTION_INFORMATION_VALUE
      EncryptionInformationValue
    • ARCHIVE_TIME_STAMP_SEQUENCE

      public static final XMLERSElement ARCHIVE_TIME_STAMP_SEQUENCE
      ArchiveTimeStampSequence
    • ARCHIVE_TIME_STAMP_CHAIN

      public static final XMLERSElement ARCHIVE_TIME_STAMP_CHAIN
      ArchiveTimeStampChain
    • DIGEST_METHOD

      public static final XMLERSElement DIGEST_METHOD
      DigestMethod
    • CANONICALIZATION_METHOD

      public static final XMLERSElement CANONICALIZATION_METHOD
      CanonicalizationMethod
    • ARCHIVE_TIME_STAMP

      public static final XMLERSElement ARCHIVE_TIME_STAMP
      EncryptionInformation
    • HASH_TREE

      public static final XMLERSElement HASH_TREE
      HashTree
    • TIME_STAMP

      public static final XMLERSElement TIME_STAMP
      TimeStamp
    • ATTRIBUTES

      public static final XMLERSElement ATTRIBUTES
      Attributes
    • TIME_STAMP_TOKEN

      public static final XMLERSElement TIME_STAMP_TOKEN
      TimeStampToken
    • CRYPTOGRAPHIC_INFORMATION_LIST

      public static final XMLERSElement CRYPTOGRAPHIC_INFORMATION_LIST
      CryptographicInformationList
    • CRYPTOGRAPHIC_INFORMATION

      public static final XMLERSElement CRYPTOGRAPHIC_INFORMATION
      CryptographicInformation
    • SEQUENCE

      public static final XMLERSElement SEQUENCE
      Sequence
    • DIGEST_VALUE

      public static final XMLERSElement DIGEST_VALUE
      DigestValue
    • ATTRIBUTE

      public static final XMLERSElement ATTRIBUTE
      Attribute
    • SUPPORTING_INFORMATION_LIST

      public static final XMLERSElement SUPPORTING_INFORMATION_LIST
      SupportingInformationList
    • SUPPORTING_INFORMATION

      public static final XMLERSElement SUPPORTING_INFORMATION
      SupportingInformation
  • Method Details

    • values

      public static XMLERSElement[] 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 XMLERSElement 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
    • getNamespace

      public DSSNamespace getNamespace()
      Description copied from interface: DSSElement
      Returns the namespace
      Specified by:
      getNamespace in interface DSSElement
      Returns:
      DSSNamespace
    • getTagName

      public String getTagName()
      Description copied from interface: DSSElement
      Returns element tag name
      Specified by:
      getTagName in interface DSSElement
      Returns:
      String element tag name
    • getURI

      public String getURI()
      Description copied from interface: DSSElement
      Returns namespace URI
      Specified by:
      getURI in interface DSSElement
      Returns:
      String uri
    • isSameTagName

      public boolean isSameTagName(String value)
      Description copied from interface: DSSElement
      Checks if the tag name matches to the current element
      Specified by:
      isSameTagName in interface DSSElement
      Parameters:
      value - String element name to compare
      Returns:
      TRUE if the value matches, FALSE otherwise