// Rdfizers for registered RDF formats
// TODO: 'tmp' is a hack to avoid a poorly-understood ConcurrentModificationException
Collection<RDFFormat> tmp = new LinkedList<RDFFormat>();
tmp.addAll(RDFFormat.values());
for (RDFFormat f : tmp) {
Rdfizer r = new VerbatimRdfizer(f, datatypeHandling);
for (String type : f.getMIMETypes()) {
double qualityFactor = type.equals("application/rdf+xml") ? 1.0 : 0.5;
cache.addRdfizer(new MediaType(type), r, qualityFactor);
}
}