Enum MarcFormat

java.lang.Object
java.lang.Enum<MarcFormat>
de.gwdg.metadataqa.marc.definition.MarcFormat
All Implemented Interfaces:
Serializable, Comparable<MarcFormat>, java.lang.constant.Constable

public enum MarcFormat extends Enum<MarcFormat>
For a compreensive list of MARC serialization formats see https://jorol.github.io/processing-marc/#/serializations
  • Enum Constant Details

    • ISO

      public static final MarcFormat ISO
    • XML

      public static final MarcFormat XML
    • ALEPHSEQ

      public static final MarcFormat ALEPHSEQ
    • LINE_SEPARATED

      public static final MarcFormat LINE_SEPARATED
    • MARC_LINE

      public static final MarcFormat MARC_LINE
    • MARC_MAKER

      public static final MarcFormat MARC_MAKER
    • PICA_PLAIN

      public static final MarcFormat PICA_PLAIN
    • PICA_NORMALIZED

      public static final MarcFormat PICA_NORMALIZED
    • PICA_XML

      public static final MarcFormat PICA_XML
  • Method Details

    • values

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

      public static MarcFormat 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
    • byCode

      public static MarcFormat byCode(String code)
    • getCode

      public String getCode()
    • getLabel

      public String getLabel()