edu.harvard.hul.ois.mets
Class Betype

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

public final class Betype
extends Enum

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


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


IDREF

public static final Betype IDREF
IDREF type.


SMIL

public static final Betype SMIL
SMIL type.


MIDI

public static final Betype MIDI
MIDI type.


SMPTE_25

public static final Betype SMPTE_25
SMPTE-25 type.


SMPTE_24

public static final Betype SMPTE_24
SMPTE-24 type.


SMPTE_DF30

public static final Betype SMPTE_DF30
SMPTE-DF30 type.


SMPTE_NDF30

public static final Betype SMPTE_NDF30
SMPTE-NDF30 type.


SMPTE_DF29_97

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


SMPTE_NDF29_97

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


TIME

public static final Betype TIME
TIME type.


TCF

public static final Betype TCF
TCF type.

Constructor Detail

Betype

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

Parameters:
value - Shape value
Method Detail

parse

public static Betype parse(java.lang.String name)
                    throws MetsException
Return the being/end type by name.

Parameters:
name - begin/end type name
Throws:
MetsException - Unknown extent