Enum ManifestElement

java.lang.Object
java.lang.Enum<ManifestElement>
eu.europa.esig.dss.asic.xades.definition.ManifestElement
All Implemented Interfaces:
DSSElement, Serializable, Comparable<ManifestElement>

public enum ManifestElement extends Enum<ManifestElement> implements DSSElement
The Manifest element enumeration
  • Enum Constant Details

  • Method Details

    • values

      public static ManifestElement[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ManifestElement valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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