import java.util.Set;
import java.util.List;
+import eu.etaxonomy.cdm.model.common.Language;
import eu.etaxonomy.cdm.model.description.TaxonDescription;
import eu.etaxonomy.cdm.model.description.TextData;
import eu.etaxonomy.cdm.model.description.FeatureTree;
*/
public interface INaturalLanguageGenerator {
- public List<TextData> generateNaturalLanguageDescription(FeatureTree featureTree, Set<DescriptionBase> descriptions);
-}
+
+ public List<TextData> generateNaturalLanguageDescription(FeatureTree featureTree, TaxonDescription descriptions);
+
+ public List<TextData> generateNaturalLanguageDescription(FeatureTree featureTree,TaxonDescription description, Language language);
+
+ public List<TextData> generatePreferredNaturalLanguageDescription(FeatureTree featureTree, TaxonDescription description, List<Language> languages);
+
+ public TextData generateSingleTextData(FeatureTree featureTree, TaxonDescription description);
+
+ public TextData generateSingleTextData(FeatureTree featureTree, TaxonDescription description, Language language);
+
+ public TextData generatePreferredSingleTextData(FeatureTree featureTree, TaxonDescription description, List<Language> languages);
+}\r