public class TaxonXTreatmentExtractor extends TaxonXExtractor
Modifier and Type | Class and Description |
---|---|
class |
TaxonXTreatmentExtractor.MyName |
TaxonXExtractor.MySpecimenOrObservation, TaxonXExtractor.ReferenceBuilder
importer, SPLITTER, state2
Constructor and Description |
---|
TaxonXTreatmentExtractor(NomenclaturalCode nomenclaturalCode,
Classification classification,
TaxonXImport importer,
TaxonXImportState configState,
java.util.Map<java.lang.String,Feature> featuresMap,
Reference urlSource) |
Modifier and Type | Method and Description |
---|---|
protected void |
extractTreatment(org.w3c.dom.Node treatmentnode,
Reference refMods,
java.net.URI sourceName)
extracts all the treament information and save them
|
protected java.util.Map<java.lang.String,Feature> |
getFeaturesUsed() |
void |
lookForParentNode(INonViralName taxonName,
Taxon tax,
Reference ref,
TaxonXTreatmentExtractor.MyName myName) |
void |
updateClassification(Classification classification2) |
askAddParent, askFeatureName, askForRank, askIfNameContained, askIfReuseBestMatchingTaxon, askMultiple, askParent, askQuestion, askRank, askSetParent, askWhichScientificName, containsDistinctLetters, extractSpecimenOrObservation, formatNode, getFacade, getFullReference, getRank, getRank, getReferenceWithType, makeFeature, newNameStatus, nomStatusString2NomStatus, prepareCollectors, typeStatusId2TypeStatus
public TaxonXTreatmentExtractor(NomenclaturalCode nomenclaturalCode, Classification classification, TaxonXImport importer, TaxonXImportState configState, java.util.Map<java.lang.String,Feature> featuresMap, Reference urlSource)
nomenclaturalCode
- classification
- importer
- configState
- protected void extractTreatment(org.w3c.dom.Node treatmentnode, Reference refMods, java.net.URI sourceName)
treatmentnode:
- the XML Nodetosave:
- the list of object to save into the CDMrefMods:
- the reference extracted from the MODSsourceName:
- the URI of the documentprotected java.util.Map<java.lang.String,Feature> getFeaturesUsed()
public void updateClassification(Classification classification2)
classification2
- public void lookForParentNode(INonViralName taxonName, Taxon tax, Reference ref, TaxonXTreatmentExtractor.MyName myName)
taxonName
- Copyright © 2007-2020 EDIT. All Rights Reserved.