| Package | Description |
|---|---|
| org.dspace.content.packager |
Provides an API and implementations of content packages, used in the context of ingest (SIP), or dissemination (DIP)
|
| Modifier and Type | Method and Description |
|---|---|
static METSManifest |
METSManifest.create(InputStream is,
boolean validate,
String configName)
Create a new manifest object from a serialized METS XML document.
|
protected METSManifest |
AbstractMETSIngester.parsePackage(Context context,
File pkgFile,
PackageParameters params)
Parse a given input package, ultimately returning the METS manifest out
of the package.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractMETSIngester.addBitstreams(Context context,
Item item,
METSManifest manifest,
File pkgFile,
PackageParameters params,
AbstractMETSIngester.MdrefManager mdRefCallback)
Add Bitstreams to an Item, based on the files listed in the METS Manifest
|
protected void |
AbstractMETSIngester.addContainerLogo(Context context,
DSpaceObject dso,
METSManifest manifest,
File pkgFile,
PackageParameters params)
Add a Logo to a Community or Collection container object based on a METS
Manifest.
|
protected void |
AbstractMETSIngester.addManifestBitstream(Context context,
Item item,
METSManifest manifest)
Save/Preserve the METS Manifest as a Bitstream attached to the given
DSpace item.
|
protected void |
AbstractMETSIngester.addTemplateItem(Context context,
DSpaceObject dso,
METSManifest manifest,
File pkgFile,
PackageParameters params,
AbstractMETSIngester.MdrefManager callback)
Add a Template Item to a Collection container object based on a METS
Manifest.
|
abstract void |
AbstractMETSIngester.crosswalkObjectDmd(Context context,
DSpaceObject dso,
METSManifest manifest,
AbstractMETSIngester.MdrefManager callback,
org.jdom.Element[] dmds,
PackageParameters params)
Select the
dmdSec element(s) to apply to the Item. |
void |
DSpaceMETSIngester.crosswalkObjectDmd(Context context,
DSpaceObject dso,
METSManifest manifest,
AbstractMETSIngester.MdrefManager callback,
org.jdom.Element[] dmds,
PackageParameters params)
Choose DMD section(s) to crosswalk.
|
void |
DSpaceAIPIngester.crosswalkObjectDmd(Context context,
DSpaceObject dso,
METSManifest manifest,
AbstractMETSIngester.MdrefManager callback,
org.jdom.Element[] dmds,
PackageParameters params)
Choose DMD section(s) to crosswalk.
|
abstract void |
AbstractMETSIngester.finishBitstream(Context context,
Bitstream bs,
org.jdom.Element mfile,
METSManifest manifest,
PackageParameters params)
Subclass-dependent final processing on a Bitstream; could include fixing
up the name, bundle, other attributes.
|
void |
DSpaceMETSIngester.finishBitstream(Context context,
Bitstream bs,
org.jdom.Element mfile,
METSManifest manifest,
PackageParameters params)
Take a second pass over files to correct names of derived files
(e.g.
|
void |
DSpaceAIPIngester.finishBitstream(Context context,
Bitstream bs,
org.jdom.Element mfile,
METSManifest manifest,
PackageParameters params)
Nothing extra to do to bitstream after ingestion.
|
String |
AbstractMETSIngester.getObjectHandle(METSManifest manifest)
Determines the handle of the DSpace object represented in this METS doc.
|
abstract int |
AbstractMETSIngester.getObjectType(METSManifest manifest)
Determines what type of DSpace object is represented in this METS doc.
|
int |
DSpaceMETSIngester.getObjectType(METSManifest manifest) |
int |
DSpaceAIPIngester.getObjectType(METSManifest manifest)
Return the type of DSpaceObject in this package; it is
in the TYPE attribute of the mets:mets element.
|
DSpaceObject |
AbstractMETSIngester.getParentObject(Context context,
METSManifest manifest)
Determines what parent DSpace object is referenced in this METS doc.
|
protected DSpaceObject |
AbstractMETSIngester.ingestObject(Context context,
DSpaceObject parent,
METSManifest manifest,
File pkgFile,
PackageParameters params,
String license)
Ingest/import a single DSpace Object, based on the associated METS
Manifest and the parameters passed to the METSIngester
|
protected DSpaceObject |
AbstractMETSIngester.replaceObject(Context context,
DSpaceObject dso,
METSManifest manifest,
File pkgFile,
PackageParameters params,
String license)
Replace the contents of a single DSpace Object, based on the associated
METS Manifest and the parameters passed to the METSIngester.
|
Copyright © 2016 DuraSpace. All rights reserved.