edu.harvard.hul.ois.mets
Class Mdtype

java.lang.Object
  extended byedu.harvard.hul.ois.mets.helper.Enum
      extended byedu.harvard.hul.ois.mets.Mdtype

public final class Mdtype
extends Enum

This class encapsulates the metadata type enumeration. See <http://www.loc.gov/standards/mets/>.


Field Summary
static Mdtype DC
          Dublin Core.
static Mdtype DDI
          DDI.
static Mdtype EAD
          EAD.
static Mdtype FGDC
          FGDC.
static Mdtype LC_AV
          Library of Congress A/V.
static Mdtype LOM
          LOM.
static Mdtype MARC
          MARC.
static Mdtype MODS
          MODS.
static Mdtype NISOIMG
          NISO Image.
static Mdtype OTHER
          Other metadata type.
static Mdtype PREMIS
          PREMIS.
static Mdtype TEIHDR
          TEI header.
static Mdtype VRA
          Visual Resource Association.
 
Constructor Summary
Mdtype(java.lang.String value)
          Instantiate a Mdtype object.
 
Method Summary
static Mdtype parse(java.lang.String name)
          Return the metadata type by name.
 
Methods inherited from class edu.harvard.hul.ois.mets.helper.Enum
equals, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MARC

public static final Mdtype MARC
MARC.


MODS

public static final Mdtype MODS
MODS.


EAD

public static final Mdtype EAD
EAD.


DC

public static final Mdtype DC
Dublin Core.


NISOIMG

public static final Mdtype NISOIMG
NISO Image.


LC_AV

public static final Mdtype LC_AV
Library of Congress A/V.


VRA

public static final Mdtype VRA
Visual Resource Association.


TEIHDR

public static final Mdtype TEIHDR
TEI header.


DDI

public static final Mdtype DDI
DDI.


FGDC

public static final Mdtype FGDC
FGDC.


LOM

public static final Mdtype LOM
LOM.


PREMIS

public static final Mdtype PREMIS
PREMIS.


OTHER

public static final Mdtype OTHER
Other metadata type.

Constructor Detail

Mdtype

public Mdtype(java.lang.String value)
Instantiate a Mdtype object.

Parameters:
value - Metadata type value
Method Detail

parse

public static Mdtype parse(java.lang.String name)
                    throws MetsException
Return the metadata type by name.

Parameters:
name - Metadata type name
Throws:
MetsException