Class MCRSkosTransformer
java.lang.Object
org.mycore.datamodel.classifications2.utils.MCRSkosTransformer
Transforms MyCoRe classification and category objects into SKOS resources
- Author:
- Robert Stephan
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Document
getSkosInRDFXML
(MCRCategory categ, MCRCategoryID current) return a classification tree as SKOS XML
-
Constructor Details
-
MCRSkosTransformer
public MCRSkosTransformer()
-
-
Method Details
-
getSkosInRDFXML
return a classification tree as SKOS XML- Parameters:
categ
- - an extract of the classification that should be returned via SKOS currently this is the hierarchy from the requested category to the root categorycurrent
- - the MCRCategoryID of the requested category
-