Package org.mycore.oai.classmapping
Class MCRClassificationAndSetMapper
java.lang.Object
org.mycore.oai.classmapping.MCRClassificationAndSetMapper
This class maps MyCoRe classification names to set names and vice versa
in OAI implementation.
The mapping itself is stored in properties
e.g. MCR.OAIDataProvider.OAI2.MapSetToClassification.doc-type=diniPublType
- Version:
- $Revision$ $Date$
- Author:
- Robert Stephan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
mapClassificationToSet
(String prefix, String classid) maps a classification name to an OAI set namestatic String
mapSetToClassification
(String prefix, String setid) maps an OAI set name to a classification name
-
Constructor Details
-
MCRClassificationAndSetMapper
public MCRClassificationAndSetMapper()
-
-
Method Details
-
mapClassificationToSet
maps a classification name to an OAI set name- Parameters:
prefix
- - the properties prefix of the OAIAdapterclassid
- - the classification name
-
mapSetToClassification
maps an OAI set name to a classification name- Parameters:
prefix
- - the property prefix for the OAIAdaptersetid
- - the set name
-