public class GazetteerNameValidation extends DefaultFeatureValidation
Description of GazetteerNameValidation ...
Capabilities:
Example Use:
GazetteerNameValidation x = new GazetteerNameValidation(...);
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL| Constructor and Description |
|---|
GazetteerNameValidation()
GazetteerNameValidation constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributeName()
Access attributeName property.
|
URL |
getGazetteer()
Access gazetteer property.
|
int |
getPriority()
Implementation of getPriority.
|
void |
setAttributeName(String attrName)
Set attributeName to attributeName.
|
void |
setGazetteer(URL gazetteer)
Set gazetteer to gazetteer.
|
boolean |
validate(SimpleFeature feature,
SimpleFeatureType type,
ValidationResults results)
Implementation of validate.
|
getDefaultLineString, getDescription, getName, getTypeRef, getTypeRefs, setDescription, setName, setTypeRefpublic GazetteerNameValidation()
Does nothing
public boolean validate(SimpleFeature feature, SimpleFeatureType type, ValidationResults results)
validate in interface FeatureValidationvalidate in class DefaultFeatureValidationfeature - type - results - true if the feature is a valid geometry.org.geotools.validation.FeatureValidation#validate(org.geotools.feature.Feature,
org.geotools.feature.FeatureType, org.geotools.validation.ValidationResults)public int getPriority()
getPriority in interface ValidationgetPriority in class DefaultFeatureValidationValidation.getPriority()public String getAttributeName()
public void setAttributeName(String attrName)
attrName - The attributeName to set.public URL getGazetteer()
public void setGazetteer(URL gazetteer)
gazetteer - The gazetteer to set.Copyright © 1996–2019 Geotools. All rights reserved.