edu.harvard.hul.ois.mets
Class Exttype

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

public final class Exttype
extends Enum

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


Field Summary
static Exttype BYTE
          Byte type.
static Exttype MIDI
          MIDI type.
static Exttype SMIL
          SMIL type.
static Exttype SMPTE_24
          SMPTE-24 type.
static Exttype SMPTE_25
          SMPTE-25 type.
static Exttype SMPTE_DF29_97
          SMPTE-DF29.97 type.
static Exttype SMPTE_DF30
          SMPTE-DF30 type.
static Exttype SMPTE_NDF29_97
          SMPTE-NDF29.97 type.
static Exttype SMPTE_NDF30
          SMPTE-NDF30 type.
static Exttype TCF
          TCF type.
static Exttype TIME
          TIME type.
 
Constructor Summary
Exttype(java.lang.String value)
          Instantiate a Exttype object.
 
Method Summary
static Exttype parse(java.lang.String name)
          Return the extent 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

BYTE

public static final Exttype BYTE
Byte type.


SMIL

public static final Exttype SMIL
SMIL type.


MIDI

public static final Exttype MIDI
MIDI type.


SMPTE_25

public static final Exttype SMPTE_25
SMPTE-25 type.


SMPTE_24

public static final Exttype SMPTE_24
SMPTE-24 type.


SMPTE_DF30

public static final Exttype SMPTE_DF30
SMPTE-DF30 type.


SMPTE_NDF30

public static final Exttype SMPTE_NDF30
SMPTE-NDF30 type.


SMPTE_DF29_97

public static final Exttype SMPTE_DF29_97
SMPTE-DF29.97 type.


SMPTE_NDF29_97

public static final Exttype SMPTE_NDF29_97
SMPTE-NDF29.97 type.


TIME

public static final Exttype TIME
TIME type.


TCF

public static final Exttype TCF
TCF type.

Constructor Detail

Exttype

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

Parameters:
value - Shape value
Method Detail

parse

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

Parameters:
name - Extent name
Throws:
MetsException - Unknown extent