Enum Class ManifestElement
- All Implemented Interfaces:
DSSElement,Serializable,Comparable<ManifestElement>,Constable
The Manifest element enumeration
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the namespaceReturns element tag namegetURI()Returns namespace URIbooleanisSameTagName(String value) Checks if the tag name matches to the current elementstatic ManifestElementReturns the enum constant of this class with the specified name.static ManifestElement[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MANIFEST
manifest -
FILE_ENTRY
file-entry
-
-
Method Details
-
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
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 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
-