Enum ASiCElement
- All Implemented Interfaces:
DSSElement,Serializable,Comparable<ASiCElement>
public enum ASiCElement extends Enum<ASiCElement> implements DSSElement
-
Enum Constant Summary
Enum Constants Enum Constant Description ASIC_MANIFESTASIC_MANIFEST_EXTENSIONSDATA_OBJECT_REFERENCEDATA_OBJECT_REFERENCE_EXTENSIONSEXTENSIONSIG_REFERENCEXADES_SIGNATURES -
Method Summary
Modifier and Type Method Description DSSNamespacegetNamespace()Returns the namespaceStringgetTagName()Returns element tag nameStringgetURI()Returns namespace URIbooleanisSameTagName(String value)Checks if the tag name matches to the current elementstatic ASiCElementvalueOf(String name)Returns the enum constant of this type with the specified name.static ASiCElement[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
XADES_SIGNATURES
-
ASIC_MANIFEST
-
SIG_REFERENCE
-
EXTENSION
-
DATA_OBJECT_REFERENCE
-
ASIC_MANIFEST_EXTENSIONS
-
DATA_OBJECT_REFERENCE_EXTENSIONS
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNamespace
Description copied from interface:DSSElementReturns the namespace- Specified by:
getNamespacein interfaceDSSElement- Returns:
DSSNamespace
-
getTagName
Description copied from interface:DSSElementReturns element tag name- Specified by:
getTagNamein interfaceDSSElement- Returns:
Stringelement tag name
-
getURI
Description copied from interface:DSSElementReturns namespace URI- Specified by:
getURIin interfaceDSSElement- Returns:
Stringuri
-
isSameTagName
Description copied from interface:DSSElementChecks if the tag name matches to the current element- Specified by:
isSameTagNamein interfaceDSSElement- Parameters:
value-Stringelement name to compare- Returns:
- TRUE if the value matches, FALSE otherwise
-