Harvard University Library - Library Digital Initiative
  Procedural Construction 
  Marshalling / Unmarshalling 
  Papers and Presentations 
  Printer-Friendly Version of Site 

  Harvard University Library 
  Office for Information Systems 
  Library Digital Initiative 

METS Java Toolkit
Draft Version 1.0 (alpha) 2002/03/15

We present a Java toolkit for the procedural construction, validation, and marshalling and unmarshalling for METS, the Metadata Encoding & Tranmission Standard for XML encoding descriptive, administrative, and structural metadata regarding objects within a digital library. The toolkit API is based on Sun's JAXB binding framework, under which elements are represented by classes with accessor and mutator methods for attributes and the element content model, and additional methods for validation and marshalling to and from instance documents. JAXB was chosen as the basis for the METS API due to its anticipated market acceptance as a key component of Sun's Java XML Pack bundle. The toolkit's parser is James Clark's XP.

The toolkit was developed to allow procedural processing of METS files in the context of an archiving project in which multiple content providers submit materials packaged in METS files to a centralized archive. To achieve necessary operating efficiencies, a maximum level of automation is required for the creation of syntactically valid METS files on the provider side and for the ingest of those METS files on the archive side. The toolkit will be used as the basis for development of these automated systems.


Java API for XML Binding (JAXB), Sun Microsystems, <http://java.sun.com/xml/jaxb/>.

Metadata Encoding & Transmission Standard (METS), Library of Congress, Network Development MARC Standards Office <http://www.loc.gov/standards/mets/>.

XP - An XML Parser in Java, James Clark <http://www.jclark.com/xml/xp/>.

Stephen Abrams
Harvard University Library, Office for Information Systems
1280 Massachusetts Avenue, Suite 404
Cambridge, MA 02138
Copyright © 2002 by the President and Fellows of Harvard College.
This information about the METS Java Toolkit is provided for evaluation purposes only.

The METS specification was developed as an initiative of the Digital Library Federation and is maintained by the Network Development and MARC Standards Office of the Library of Congress.
The toolkit is compliant with the JAXB API specification, copyright © 2001 Sun Microsystems, Inc.
The toolkit uses the XP parser, copyright © 1997,1998 James Clark.