Enum ManifestElement
- All Implemented Interfaces:
DSSElement
,Serializable
,Comparable<ManifestElement>
The Manifest element enumeration
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the namespaceReturns element tag namegetURI()
Returns namespace URIboolean
isSameTagName
(String value) Checks if the tag name matches to the current elementstatic ManifestElement
Returns the enum constant of this type with the specified name.static ManifestElement[]
values()
Returns an array containing the constants of this enum type, 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 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:DSSElement
Returns the namespace- Specified by:
getNamespace
in interfaceDSSElement
- Returns:
DSSNamespace
-
getTagName
Description copied from interface:DSSElement
Returns element tag name- Specified by:
getTagName
in interfaceDSSElement
- Returns:
String
element tag name
-
getURI
Description copied from interface:DSSElement
Returns namespace URI- Specified by:
getURI
in interfaceDSSElement
- Returns:
String
uri
-
isSameTagName
Description copied from interface:DSSElement
Checks if the tag name matches to the current element- Specified by:
isSameTagName
in interfaceDSSElement
- Parameters:
value
-String
element name to compare- Returns:
- TRUE if the value matches, FALSE otherwise
-