Search in sources :

Example 1 with IStructMap

use of org.mycore.mets.model.struct.IStructMap in project mycore by MyCoRe-Org.

the class MCRXMLSimpleModelConverter method buidRootSection.

private static MCRMetsSection buidRootSection(Mets mets, Map<String, MCRMetsSection> idSectionMap, Map<String, MCRMetsFile> idFileMap) {
    IStructMap structMap = mets.getStructMap(LogicalStructMap.TYPE);
    LogicalStructMap logicalStructMap = (LogicalStructMap) structMap;
    LogicalDiv divContainer = logicalStructMap.getDivContainer();
    return buildSection(divContainer, idSectionMap, null, idFileMap);
}
Also used : IStructMap(org.mycore.mets.model.struct.IStructMap) LogicalStructMap(org.mycore.mets.model.struct.LogicalStructMap) LogicalDiv(org.mycore.mets.model.struct.LogicalDiv)

Aggregations

IStructMap (org.mycore.mets.model.struct.IStructMap)1 LogicalDiv (org.mycore.mets.model.struct.LogicalDiv)1 LogicalStructMap (org.mycore.mets.model.struct.LogicalStructMap)1