Class MCRAbstractMODSMetadataService

java.lang.Object
org.mycore.pi.MCRPIMetadataService<MCRPersistentIdentifier>
org.mycore.mods.identifier.MCRAbstractMODSMetadataService
Direct Known Subclasses:
MCRMODSDOIMetadataService, MCRMODSPURLMetadataService, MCRMODSURNMetadataService

public class MCRAbstractMODSMetadataService extends MCRPIMetadataService<MCRPersistentIdentifier>
Base class for all ModsMetadataServices. Basically in mods just the type is different, which will be resolved from getIdentifierType().

This MetadataService has two parameters:

Prefix
Will be passed to starts-with() as seconds parameter when the PI is read from the mods document. So it ensures that only the right pi is read. E.g. if only DOI which start with the prefix 10.5072
Type
The type will be used in the mods:identifier@type attribute and it will be used to resolve the parser. See: MCRPIManager.getParserForType(java.lang.String)