use of org.olat.imsmd.xml.manifest.TechnicalType in project openolat by klemens.
the class ManifestMetadataBuilder method setTechnicalFormat.
public void setTechnicalFormat(String... formats) {
if (formats != null && formats.length > 0 && formats[0] != null) {
TechnicalType technical = getTechnical(true);
clearFromAny("format", technical.getContent());
for (int i = 0; i < formats.length; i++) {
technical.getContent().add(mdObjectFactory.createFormat(formats[i]));
}
}
}
Aggregations