Class MODSDisseminationCrosswalk

  • All Implemented Interfaces:
    DisseminationCrosswalk

    public class MODSDisseminationCrosswalk
    extends SelfNamedPlugin
    implements DisseminationCrosswalk
    Configurable MODS Crosswalk

    This class supports multiple dissemination crosswalks from DSpace internal data to the MODS XML format (see http://www.loc.gov/standards/mods/.)

    It registers multiple Plugin names, which it reads from the DSpace configuration as follows:

    Configuration

    Every key starting with "crosswalk.mods.properties." describes a MODS crosswalk. Everything after the last period is the plugin name, and the value is the pathname (relative to dspace.dir/config) of the crosswalk configuration file.

    You can have two names point to the same crosswalk, just add two configuration entries with the same value, e.g.

        crosswalk.mods.properties.MODS = crosswalks/mods.properties
        crosswalk.mods.properties.default = crosswalks/mods.properties
     
    The first line creates a plugin with the name "MODS" which is configured from the file dspace-dir/config/crosswalks/mods.properties.

    Since there is significant overhead in reading the properties file to configure the crosswalk, and a crosswalk instance may be used any number of times, we recommend caching one instance of the crosswalk for each name and simply reusing those instances. The PluginService does this by default.

    Version:
    $Revision$
    Author:
    Larry Stone, Scott Phillips
    • Constructor Detail

      • MODSDisseminationCrosswalk

        public MODSDisseminationCrosswalk()