Enum Class XAdESENElement

java.lang.Object
java.lang.Enum<XAdESENElement>
eu.europa.esig.xades.definition.xadesen.XAdESENElement
All Implemented Interfaces:
DSSElement, Serializable, Comparable<XAdESENElement>, Constable

public enum XAdESENElement extends Enum<XAdESENElement> implements DSSElement
  • Enum Constant Details

    • ASN1_EVIDENCE_RECORD

      public static final XAdESENElement ASN1_EVIDENCE_RECORD
      Defines ASN1EvidenceRecord
    • EVIDENCE_RECORD

      public static final XAdESENElement EVIDENCE_RECORD
      Defines XML EvidenceRecord
    • SEALING_EVIDENCE_RECORDS

      public static final XAdESENElement SEALING_EVIDENCE_RECORDS
      Defines an EvidenceRecord container
  • Method Details

    • values

      public static XAdESENElement[] 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 XAdESENElement 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