Enum IdentifierType

  • All Implemented Interfaces:
    Serializable, Comparable<IdentifierType>

    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:
    Identifier
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ANSI
      Identifier type for American National Standards Institute.
      CCITT
      Identifier type for CCITT.
      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.
      ISBN
      Identifier type for International Standard Book Number.
      ISO
      Identifier type for International Standards Organization.
      ITU
      Identifier type for International Telecommunication Union.
      JEITA
      Identifier type for Japan Electronics and Information Technology Industries Association.
      LC
      Identifier type for Library of Congress classification.
      LCCN
      Identifier type for Library of Congress catalogue number.
      NISO
      Identifier type for NISO standard number.
      OTHER
      Identifier type for whatever doesn't fit other categories.
      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.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      String name
      A String name for the type, used for reporting.
    • Enum Constant Detail

      • 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 Detail

      • name

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

      • values

        public static IdentifierType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (IdentifierType c : IdentifierType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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