Module io.annot8.components.geo
Class CountryGazetteer.Settings
- java.lang.Object
-
- io.annot8.components.geo.processors.CountryGazetteer.Settings
-
- All Implemented Interfaces:
io.annot8.api.settings.Settings
- Enclosing class:
- CountryGazetteer
public static class CountryGazetteer.Settings extends Object implements io.annot8.api.settings.Settings
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSubType()booleanisCaseSensitive()booleanisGeoJson()booleanisIncludeCountryCodes()booleanisMetadata()voidsetCaseSensitive(boolean caseSensitive)voidsetGeoJson(boolean geoJson)voidsetIncludeCountryCodes(boolean includeCountryCodes)voidsetMetadata(boolean metadata)voidsetSubType(String subType)booleanvalidate()
-
-
-
Constructor Detail
-
Settings
public Settings()
-
Settings
public Settings(boolean geoJson, boolean metadata)
-
Settings
public Settings(boolean geoJson, boolean metadata, boolean caseSensitive, String subType, boolean includeCountryCodes)
-
-
Method Detail
-
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 information to annotations", defaultValue="true") public boolean isGeoJson()
-
setGeoJson
public void setGeoJson(boolean geoJson)
-
isMetadata
@Description(value="Add country metadata to annotations", defaultValue="false") public boolean isMetadata()
-
setMetadata
public void setMetadata(boolean metadata)
-
getSubType
@Description("Sub-type to assign to annotations, or null") public String getSubType()
-
setSubType
public void setSubType(String subType)
-
isIncludeCountryCodes
@Description(value="Include two letter country codes in list of country names", defaultValue="false") public boolean isIncludeCountryCodes()
-
setIncludeCountryCodes
public void setIncludeCountryCodes(boolean includeCountryCodes)
-
validate
public boolean validate()
- Specified by:
validatein interfaceio.annot8.api.settings.Settings
-
-