import eu.etaxonomy.cdm.strategy.exceptions.UnknownCdmTypeException;
/**
+ * The export exporting a classification or a taxonomic subtree into CDM light.
+ *
* @author k.luther
* @since 15.03.2017
*/
if (state.getRootId() != null) {
List<TaxonNodeDto> childrenOfRoot = state.getNodeChildrenMap().get(state.getRootId());
- Comparator<TaxonNodeDto> comp = state.getConfig().getComparator();
+ Comparator<TaxonNodeDto> comp = state.getConfig().getTaxonNodeComparator();
if (comp == null) {
comp = new TaxonNodeDtoByRankAndNameComparator();
}
if (children == null) {
return null;
}
- Comparator<TaxonNodeDto> comp = state.getConfig().getComparator();
+ Comparator<TaxonNodeDto> comp = state.getConfig().getTaxonNodeComparator();
if (comp == null) {
comp = new TaxonNodeDtoByRankAndNameComparator();
}
}
private void handleDescriptions(CdmLightExportState state, CdmBase cdmBase) {
+ if (!state.getConfig().isDoFactualData()) {
+ return;
+ }
String titleCache = null;
try {