Enum ASiCElement

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

public enum ASiCElement extends Enum<ASiCElement> implements DSSElement
ASiC XSD elements
  • Enum Constant Details

    • XADES_SIGNATURES

      public static final ASiCElement XADES_SIGNATURES
      XAdESSignatures
    • ASIC_MANIFEST

      public static final ASiCElement ASIC_MANIFEST
      ASiCManifest
    • SIG_REFERENCE

      public static final ASiCElement SIG_REFERENCE
      SigReference
    • EXTENSION

      public static final ASiCElement EXTENSION
      Extension
    • DATA_OBJECT_REFERENCE

      public static final ASiCElement DATA_OBJECT_REFERENCE
      DataObjectReference
    • ASIC_MANIFEST_EXTENSIONS

      public static final ASiCElement ASIC_MANIFEST_EXTENSIONS
      ASiCManifestExtensions
    • DATA_OBJECT_REFERENCE_EXTENSIONS

      public static final ASiCElement DATA_OBJECT_REFERENCE_EXTENSIONS
      DataObjectReferenceExtensions
  • Method Details

    • values

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