org.geotools.validation.attributes
Class GazetteerNameValidation

java.lang.Object
  extended byorg.geotools.validation.DefaultFeatureValidation
      extended byorg.geotools.validation.attributes.GazetteerNameValidation
All Implemented Interfaces:
FeatureValidation, Validation

public class GazetteerNameValidation
extends DefaultFeatureValidation

GazetteerNameValidation purpose.

Description of GazetteerNameValidation ...

Capabilities:

Example Use:


 GazetteerNameValidation x = new GazetteerNameValidation(...);
 


Field Summary
 
Fields inherited from interface org.geotools.validation.Validation
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL
 
Constructor Summary
GazetteerNameValidation()
          GazetteerNameValidation constructor.
 
Method Summary
 java.lang.String getAttrName()
          Access attrName property.
 java.net.URL getGazetteer()
          Access gazetteer property.
 int getPriority()
          Implementation of getPriority.
 void setAttrName(java.lang.String attrName)
          Set attrName to attrName.
 void setGazetteer(java.net.URL gazetteer)
          Set gazetteer to gazetteer.
 boolean validate(org.geotools.feature.Feature feature, org.geotools.feature.FeatureType type, ValidationResults results)
          Implementation of validate.
 
Methods inherited from class org.geotools.validation.DefaultFeatureValidation
getDescription, getName, getTypeRef, getTypeRefs, setDescription, setName, setTypeRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GazetteerNameValidation

public GazetteerNameValidation()
GazetteerNameValidation constructor.

Does nothing

Method Detail

validate

public boolean validate(org.geotools.feature.Feature feature,
                        org.geotools.feature.FeatureType type,
                        ValidationResults results)
Implementation of validate.

Specified by:
validate in interface FeatureValidation
Overrides:
validate in class DefaultFeatureValidation
Parameters:
feature -
type -
results -
Returns:
Throws:
java.lang.Exception
See Also:
FeatureValidation.validate(org.geotools.feature.Feature, org.geotools.feature.FeatureType, org.geotools.validation.ValidationResults)

getPriority

public int getPriority()
Implementation of getPriority.

Specified by:
getPriority in interface Validation
Overrides:
getPriority in class DefaultFeatureValidation
Returns:
See Also:
Validation.getPriority()

getAttrName

public java.lang.String getAttrName()
Access attrName property.

Returns:
Returns the attrName.

setAttrName

public void setAttrName(java.lang.String attrName)
Set attrName to attrName.

Parameters:
attrName - The attrName to set.

getGazetteer

public java.net.URL getGazetteer()
Access gazetteer property.

Returns:
Returns the gazetteer.

setGazetteer

public void setGazetteer(java.net.URL gazetteer)
Set gazetteer to gazetteer.

Parameters:
gazetteer - The gazetteer to set.