Package edu.harvard.hul.ois.jhove
Enum Class IdentifierType
- All Implemented Interfaces:
Serializable,Comparable<IdentifierType>,java.lang.constant.Constable
This class defines enumerated types for an Identifier of a
format specification document.
Applications will not create or modify IdentifierTypes, but will
use one of the predefined IdentifierType instances
ANSI, DDC, DOI, ECMA, HANDLE, ISO, ISBN, LC, LCCN,
NISO, PII, RFC, SICI, URI, URL, URN, or OTHER.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIdentifier type for American National Standards Institute.Identifier type for CCITT.Identifier type for Dewey Decimal Classification.Identifier type for Digital Object Identifier.Identifier type for ECMA.Identifier type for CNRI Handle.Identifier type for International Standard Book Number.Identifier type for International Standards Organization.Identifier type for International Telecommunication Union.Identifier type for Japan Electronics and Information Technology Industries Association.Identifier type for Library of Congress classification.Identifier type for Library of Congress catalogue number.Identifier type for NISO standard number.Identifier type for whatever doesn't fit other categories.Identifier type for Publisher Item Identifier.Identifier type for IETF Request for Comment.Identifier type for Serial Item and Contribution Identifier.Identifier type for Uniform Resource Identifier.Identifier type for Uniform Resource Locator.Identifier type for Uniform Resource Name. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiontoString()static IdentifierTypeReturns the enum constant of this class with the specified name.static IdentifierType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANSI
Identifier type for American National Standards Institute. -
DDC
Identifier type for Dewey Decimal Classification. -
DOI
Identifier type for Digital Object Identifier. -
ECMA
Identifier type for ECMA. -
HANDLE
Identifier type for CNRI Handle. -
ISO
Identifier type for International Standards Organization. -
ISBN
Identifier type for International Standard Book Number. -
LC
Identifier type for Library of Congress classification. -
LCCN
Identifier type for Library of Congress catalogue number. -
NISO
Identifier type for NISO standard number. -
PII
Identifier type for Publisher Item Identifier. -
RFC
Identifier type for IETF Request for Comment. -
SICI
Identifier type for Serial Item and Contribution Identifier. -
URI
Identifier type for Uniform Resource Identifier. -
URL
Identifier type for Uniform Resource Locator. -
URN
Identifier type for Uniform Resource Name. -
CCITT
Identifier type for CCITT. -
ITU
Identifier type for International Telecommunication Union. -
JEITA
Identifier type for Japan Electronics and Information Technology Industries Association. -
OTHER
Identifier type for whatever doesn't fit other categories.
-
-
Field Details
-
name
A String name for the type, used for reporting.
-
-
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
-
toString
- Overrides:
toStringin classEnum<IdentifierType>
-