Module io.annot8.components.geo
Class GeoNamesGazetteer.Settings
- java.lang.Object
-
- io.annot8.components.geo.processors.GeoNamesGazetteer.Settings
-
- All Implemented Interfaces:
io.annot8.api.settings.Settings
- Enclosing class:
- GeoNamesGazetteer
public static class GeoNamesGazetteer.Settings extends Object implements io.annot8.api.settings.Settings
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeoNamesGazetteer.Settings.GeoNamesAdditionalProperties
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoNamesGazetteer.Settings.GeoNamesAdditionalPropertiesgetAdditionalProperties()FilegetGeonamesFile()intgetMinimumPopulation()StringgetSubType()booleanisCaseSensitive()booleanisGeoJson()voidsetAdditionalProperties(GeoNamesGazetteer.Settings.GeoNamesAdditionalProperties additionalProperties)voidsetCaseSensitive(boolean caseSensitive)voidsetGeoJson(boolean geoJson)voidsetGeonamesFile(File geonamesFile)voidsetMinimumPopulation(int minimumPopulation)voidsetSubType(String subType)booleanvalidate()
-
-
-
Method Detail
-
validate
public boolean validate()
- Specified by:
validatein interfaceio.annot8.api.settings.Settings
-
getAdditionalProperties
@Description(value="Which fields from the GeoNames data should be added as additional properties", defaultValue="BASIC") public GeoNamesGazetteer.Settings.GeoNamesAdditionalProperties getAdditionalProperties()
-
setAdditionalProperties
public void setAdditionalProperties(GeoNamesGazetteer.Settings.GeoNamesAdditionalProperties additionalProperties)
-
isCaseSensitive
@Description(value="Only annotate matches with the same case as the data file", defaultValue="true") public boolean isCaseSensitive()
-
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive)
-
isGeoJson
@Description(value="Add GeoJSON to the annotation", defaultValue="true") public boolean isGeoJson()
-
setGeoJson
public void setGeoJson(boolean geoJson)
-
getGeonamesFile
@Description("Location of the GeoNames data file") public File getGeonamesFile()
-
setGeonamesFile
public void setGeonamesFile(File geonamesFile)
-
getSubType
@Description("Sub-type to assign to annotations, or null") public String getSubType()
-
setSubType
public void setSubType(String subType)
-
getMinimumPopulation
@Description("Entries in GeoNames under this size will be excluded") public int getMinimumPopulation()
-
setMinimumPopulation
public void setMinimumPopulation(int minimumPopulation)
-
-