edu.indiana.dlib.metsnav.mets.v1_5
Class Mets

java.lang.Object
  extended by edu.indiana.dlib.metsnav.mets.v1_5.MetsType
      extended by edu.indiana.dlib.metsnav.mets.v1_5.Mets
All Implemented Interfaces:
Serializable

public class Mets
extends MetsType
implements Serializable

METS: Metadata Encoding and Transmission Standard. METS is intended to provide a standardized XML format for transmission of complex digital library objects between systems. As such, it can be seen as filling a role similar to that defined for the Submission Information Package (SIP), Archival Information Package (AIP) and Dissemination Information Package (DIP) in the Reference Model for an Open Archival Information System.

See Also:
Serialized Form

Constructor Summary
Mets()
           
 
Method Summary
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
static Object unmarshal(Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class edu.indiana.dlib.metsnav.mets.v1_5.MetsType
addAmdSec, addAmdSec, addBehaviorSec, addBehaviorSec, addDmdSec, addDmdSec, addStructMap, addStructMap, clearAmdSec, clearBehaviorSec, clearDmdSec, clearStructMap, enumerateAmdSec, enumerateBehaviorSec, enumerateDmdSec, enumerateStructMap, getAmdSec, getAmdSec, getAmdSecCount, getBehaviorSec, getBehaviorSec, getBehaviorSecCount, getDmdSec, getDmdSec, getDmdSecCount, getFileSec, getID, getLABEL, getMetsHdr, getOBJID, getPROFILE, getStructLink, getStructMap, getStructMap, getStructMapCount, getTYPE, removeAmdSec, removeBehaviorSec, removeDmdSec, removeStructMap, setAmdSec, setAmdSec, setBehaviorSec, setBehaviorSec, setDmdSec, setDmdSec, setFileSec, setID, setLABEL, setMetsHdr, setOBJID, setPROFILE, setStructLink, setStructMap, setStructMap, setTYPE
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mets

public Mets()
Method Detail

isValid

public boolean isValid()
Method isValid

Overrides:
isValid in class MetsType
Returns:
boolean

marshal

public void marshal(Writer out)
             throws MarshalException,
                    ValidationException
Method marshal

Overrides:
marshal in class MetsType
Parameters:
out -
Throws:
MarshalException
ValidationException

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    MarshalException,
                    ValidationException
Method marshal

Overrides:
marshal in class MetsType
Parameters:
handler -
Throws:
IOException
MarshalException
ValidationException

unmarshal

public static Object unmarshal(Reader reader)
                        throws MarshalException,
                               ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Overrides:
validate in class MetsType
Throws:
ValidationException


Copyright © 2005 Trustees of Indiana University. All Rights Reserved.