} else if (version.equals(DataSourceConfig.METS_1_5)) {
decoratedDao = new PersistentMets1_5FileDAO();
} else if (version.equals(DataSourceConfig.METS_1_6)) {
decoratedDao = new PersistentMets1_6FileDAO();
} else if (version.equals("iufa2")) {
decoratedDao = new PersistentIUFA2MetsFileDAO();
} else {
throw new DAOException("Invalid mets version: " + version);
}
decoratedDao.init(config);
}