myLogger.debug("current meta.xml file type for id " + getId() + ": " + type);
Fileformat ff = null;
if (type.equals("metsmods")) {
ff = new MetsModsImportExport(this.regelsatz.getPreferences());
} else if (type.equals("mets")) {
ff = new MetsMods(this.regelsatz.getPreferences());
} else if (type.equals("xstream")) {
ff = new XStream(this.regelsatz.getPreferences());
} else {
ff = new RDFFile(this.regelsatz.getPreferences());
}