Enum Class IdentifierType

java.lang.Object
java.lang.Enum<IdentifierType>
edu.harvard.hul.ois.jhove.IdentifierType
All Implemented Interfaces:
Serializable, Comparable<IdentifierType>, java.lang.constant.Constable

public enum IdentifierType extends Enum<IdentifierType>
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 Constants
    Enum Constant
    Description
    Identifier 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
    Modifier and Type
    Field
    Description
    final String
    A String name for the type, used for reporting.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • ANSI

      public static final IdentifierType ANSI
      Identifier type for American National Standards Institute.
    • DDC

      public static final IdentifierType DDC
      Identifier type for Dewey Decimal Classification.
    • DOI

      public static final IdentifierType DOI
      Identifier type for Digital Object Identifier.
    • ECMA

      public static final IdentifierType ECMA
      Identifier type for ECMA.
    • HANDLE

      public static final IdentifierType HANDLE
      Identifier type for CNRI Handle.
    • ISO

      public static final IdentifierType ISO
      Identifier type for International Standards Organization.
    • ISBN

      public static final IdentifierType ISBN
      Identifier type for International Standard Book Number.
    • LC

      public static final IdentifierType LC
      Identifier type for Library of Congress classification.
    • LCCN

      public static final IdentifierType LCCN
      Identifier type for Library of Congress catalogue number.
    • NISO

      public static final IdentifierType NISO
      Identifier type for NISO standard number.
    • PII

      public static final IdentifierType PII
      Identifier type for Publisher Item Identifier.
    • RFC

      public static final IdentifierType RFC
      Identifier type for IETF Request for Comment.
    • SICI

      public static final IdentifierType SICI
      Identifier type for Serial Item and Contribution Identifier.
    • URI

      public static final IdentifierType URI
      Identifier type for Uniform Resource Identifier.
    • URL

      public static final IdentifierType URL
      Identifier type for Uniform Resource Locator.
    • URN

      public static final IdentifierType URN
      Identifier type for Uniform Resource Name.
    • CCITT

      public static final IdentifierType CCITT
      Identifier type for CCITT.
    • ITU

      public static final IdentifierType ITU
      Identifier type for International Telecommunication Union.
    • JEITA

      public static final IdentifierType JEITA
      Identifier type for Japan Electronics and Information Technology Industries Association.
    • OTHER

      public static final IdentifierType OTHER
      Identifier type for whatever doesn't fit other categories.
  • Field Details

    • name

      public final String name
      A String name for the type, used for reporting.
  • Method Details

    • values

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

      public static IdentifierType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<IdentifierType>