});
handlers.put("dwc:scientificName", new TripletToTaxonHandler() {
@Override
public void setToTaxon(Qname predicatename, Qname objectname, String resourceliteral, Langcode langcode, Taxon taxon) {
taxon.setScientificName(new Name(resourceliteral));
}
});
handlers.put("dwc:scientificNameAuthorship", new TripletToTaxonHandler() {
@Override
public void setToTaxon(Qname predicatename, Qname objectname, String resourceliteral, Langcode langcode, Taxon taxon) {
taxon.setScientificNameAuthorship(resourceliteral);
}
});
handlers.put("dwc:taxonRank", new TripletToTaxonHandler() {
@Override
public void setToTaxon(Qname predicatename, Qname objectname, String resourceliteral, Langcode langcode, Taxon taxon) {
taxon.setTaxonRank(objectname);
}
});
handlers.put("dwc:vernacularName", new TripletToTaxonHandler() {
@Override
public void setToTaxon(Qname predicatename, Qname objectname, String resourceliteral, Langcode langcode, Taxon taxon) {
taxon.addVernacularName(new Name(resourceliteral), langcode);
}
});
handlers.put("MX.misidentifiedName", new TripletToTaxonHandler() {
@Override
public void setToTaxon(Qname predicatename, Qname objectname, String resourceliteral, Langcode langcode, Taxon taxon) {
taxon.addMisidentifiedName(new Name(resourceliteral));
}
});
handlers.put("MX.vernacularName", new TripletToTaxonHandler() {
@Override
public void setToTaxon(Qname predicatename, Qname objectname, String resourceliteral, Langcode langcode, Taxon taxon) {
taxon.addAlternativeVernacularName(new Name(resourceliteral), langcode);
}
});
handlers.put("MX.obsoleteVernacularName", new TripletToTaxonHandler() {
@Override
public void setToTaxon(Qname predicatename, Qname objectname, String resourceliteral, Langcode langcode, Taxon taxon) {
taxon.addObsoleteVernacularName(new Name(resourceliteral), langcode);
}
});
handlers.put("MX.distributionMapFinland", new TripletToTaxonHandler() {
@Override