Package org.dspace.content.crosswalk
Provides an API and implementations of metadata crosswalks, which are directional mappings from one schema to another, performed in the context of Item ingestion or dissemination. Most crosswalks are driven by a mapping
in a file, which reside in config/crosswalks.
Crosswalk Interfaces
The principle interfaces are for ingest and dissemination contexts, i.e. the IngestionCrosswalk interface consists of the methods:
public void ingest(Context context, DSpaceObject dso, List metadata)
public void ingest(Context context, DSpaceObject dso, Element root)
The DisseminationCrosswalk interface has methods:
public Namespace[] getNamespaces()
public String getSchemaLocation()
public boolean canDisseminate(DSpaceObject dso)
public List disseminateList(DSpaceObject dso)
public Element disseminateElement(DSpaceObject dso)
Crosswalk Implementations
Crosswalks exist for many formats, includings DC, QDC, METs, MODs, Premis, and a general implementation employing an XSLT stylesheet.
-
Interface Summary Interface Description DisseminationCrosswalk Dissemination Crosswalk plugin -- translate DSpace native metadata into an external XML format.IConverter IngestionCrosswalk Ingestion Crosswalk plugin -- translate an external metadata format into DSpace native metadata.ParameterizedDisseminationCrosswalk Translate DSpace native metadata into an external XML format, with parameters.StreamDisseminationCrosswalk A class implementing this interface crosswalk metadata directly from a DSpace Object to an output stream, in a specific format.StreamIngestionCrosswalk A class implementing this interface can crosswalk metadata directly from a stream (assumed to be in a specific format) to the object. -
Class Summary Class Description AbstractPackagerWrappingCrosswalk Packager Wrapping Crosswalk pluginAIPDIMCrosswalk Crosswalk descriptive metadata to and from DIM (DSpace Intermediate Metadata) format, strictly for the purpose of including a precise and complete record of the DMD in an AIP.AIPTechMDCrosswalk Crosswalk of technical metadata for DSpace AIP.CreativeCommonsRDFStreamDisseminationCrosswalk Export the item's Creative Commons license, RDF form.CreativeCommonsRDFStreamIngestionCrosswalk Ingest a Creative Commons license, RDF form.CreativeCommonsTextStreamDisseminationCrosswalk Deprecated. the bitstream with the license in the textual format it is no longer stored (see https://jira.duraspace.org/browse/DS-2604)CrosswalkMetadataValidator DIMDisseminationCrosswalk DIM dissemination crosswalkDIMIngestionCrosswalk DIM ingestion crosswalkLicenseStreamDisseminationCrosswalk Export the object's DSpace deposit license.LicenseStreamIngestionCrosswalk Accept a DSpace deposit license.METSDisseminationCrosswalk METS dissemination crosswalkMETSRightsCrosswalk METSRights Ingestion and Dissemination CrosswalkMODSDisseminationCrosswalk Configurable MODS CrosswalkNullIngestionCrosswalk "Null" ingestion crosswalkNullStreamIngestionCrosswalk A crosswalk to ignore and dispose of the ingested material.OAIDCIngestionCrosswalk DIM ingestion crosswalkOREDisseminationCrosswalk ORE dissemination crosswalkOREIngestionCrosswalk ORE ingestion crosswalkPREMISCrosswalk PREMIS CrosswalkQDCCrosswalk Configurable QDC CrosswalkRoleCrosswalk Role CrosswalkSimpleDCDisseminationCrosswalk Disseminator for Simple Dublin Core metadata in XML format.SubscriptionDsoMetadataForEmailCompose Creates a String to be sent as email body for subscriptionsXHTMLHeadDisseminationCrosswalk Crosswalk for creating appropriate <meta> elements to appear in the item display page for a particular item, for improving automated processing of the page (e.g.XSLTCrosswalk Configurable XSLT-driven CrosswalkXSLTDisseminationCrosswalk Configurable XSLT-driven dissemination CrosswalkXSLTIngestionCrosswalk Configurable XSLT-driven ingestion Crosswalk -
Exception Summary Exception Description CrosswalkException Superclass for more-specific crosswalk exceptions.CrosswalkInternalException Something went wrong inside the crosswalk, not necessarily caused by the input or state (although it could be an incorrectly handled pathological case).CrosswalkObjectNotSupported Something went wrong inside the crosswalk, not necessarily caused by the input or state (although it could be an incorrectly handled pathological case).MetadataValidationException This indicates a problem with the input metadata (for submission) or item state (dissemination).