|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.content.packager.AbstractMETSDisseminator
org.dspace.content.packager.DSpaceMETSDisseminator
public class DSpaceMETSDisseminator
Packager plugin to produce a METS (Metadata Encoding & Transmission Standard) package that is accepted as a DSpace METS SIP (Submission Information Package). See http://www.loc.gov/standards/mets/ for more information on METS.
This class does not produce a true DSpace DIP, because there was no DIP standard when it was implemented. It does contain some features beyond the requirements of a SIP (e.g. deposit licenses), anticipating the DIP specification.
DSpaceMETSDisseminator was intended to be an useful example of a packager plugin, and a way to create packages acceptable to the METS SIP importer.
| Field Summary |
|---|
| Fields inherited from class org.dspace.content.packager.AbstractMETSDisseminator |
|---|
extraFiles, MANIFEST_FILE |
| Constructor Summary | |
|---|---|
DSpaceMETSDisseminator()
|
|
| Method Summary | |
|---|---|
void |
addRightsMd(Context context,
Item item,
edu.harvard.hul.ois.mets.AmdSec amdSec)
Add rights MD (licenses) for DSpace item. |
void |
addStructMap(Context context,
Item item,
PackageParameters params,
edu.harvard.hul.ois.mets.Mets mets)
Add any additional structMap elements to the
METS document, as required by this subclass. |
String |
bundleToFileGrp(String bname)
Returns name of METS fileGrp corresponding to a DSpace bundle name. |
String[] |
getDmdTypes(PackageParameters params)
Get DMD choice for Item. |
String |
getProfile()
Return identifier string for the profile this produces. |
String |
getTechMdType(PackageParameters params)
Get name of technical metadata crosswalk for Bitstreams. |
| Methods inherited from class org.dspace.content.packager.AbstractMETSDisseminator |
|---|
disseminate, findOriginalBitstream, gensym, getMIMEType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DSpaceMETSDisseminator()
| Method Detail |
|---|
public String getProfile()
getProfile in class AbstractMETSDisseminatorpublic String bundleToFileGrp(String bname)
bundleToFileGrp in class AbstractMETSDisseminatorbname - name of DSpace bundle.
public String[] getDmdTypes(PackageParameters params)
throws SQLException,
IOException,
AuthorizeException
getDmdTypes in class AbstractMETSDisseminatorparams - the PackageParameters passed to the disseminator.
SQLException
IOException
AuthorizeException
public String getTechMdType(PackageParameters params)
throws SQLException,
IOException,
AuthorizeException
getTechMdType in class AbstractMETSDisseminatorparams - the PackageParameters passed to the disseminator.
SQLException
IOException
AuthorizeException
public void addRightsMd(Context context,
Item item,
edu.harvard.hul.ois.mets.AmdSec amdSec)
throws SQLException,
IOException,
AuthorizeException,
edu.harvard.hul.ois.mets.helper.MetsException
addRightsMd in class AbstractMETSDisseminatorSQLException
IOException
AuthorizeException
edu.harvard.hul.ois.mets.helper.MetsException
public void addStructMap(Context context,
Item item,
PackageParameters params,
edu.harvard.hul.ois.mets.Mets mets)
throws SQLException,
IOException,
AuthorizeException,
edu.harvard.hul.ois.mets.helper.MetsException
AbstractMETSDisseminatorstructMap elements to the
METS document, as required by this subclass. A simple default
structure map which fulfills the minimal DSpace METS DIP/SIP
requirements is already present, so this does not need to do anything.
addStructMap in class AbstractMETSDisseminatormets - the METS document to which to add structMaps
SQLException
IOException
AuthorizeException
edu.harvard.hul.ois.mets.helper.MetsException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||