|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectDefaultFeatureValidation
GazetteerNameValidation
public class GazetteerNameValidation
GazetteerNameValidation purpose.
Description of GazetteerNameValidation ...
Capabilities:
Example Use:
GazetteerNameValidation x = new GazetteerNameValidation(...);
Field Summary |
---|
Fields inherited from interface Validation |
---|
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL |
Constructor Summary | |
---|---|
GazetteerNameValidation()
GazetteerNameValidation constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class DefaultFeatureValidation |
---|
getDefaultLineString, getDescription, getName, getTypeRef, getTypeRefs, setDescription, setName, setTypeRef |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GazetteerNameValidation()
Does nothing
Method Detail |
---|
public boolean validate(SimpleFeature feature, SimpleFeatureType type, ValidationResults results)
validate
in interface FeatureValidation
validate
in class DefaultFeatureValidation
feature
- 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 Validation
getPriority
in class DefaultFeatureValidation
Validation.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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |