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(...);
 

Version:
$Id: GazetteerNameValidation.java 17704 2006-01-23 00:26:16Z desruisseaux $
Author:
dzwiers, Refractions Research, Inc., $Author: dmzwiers $ (last modification)

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 getAttributeName()
          Access attributeName property.
 java.net.URL getGazetteer()
          Access gazetteer property.
 int getPriority()
          Implementation of getPriority.
 void setAttributeName(java.lang.String attrName)
          Set attributeName to attributeName.
 void setGazetteer(java.net.URL gazetteer)
          Set gazetteer to gazetteer.
 boolean validate(Feature feature, FeatureType type, ValidationResults results)
          Implementation of validate.
 
Methods inherited from class org.geotools.validation.DefaultFeatureValidation
getDefaultLineString, 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(Feature feature,
                        FeatureType type,
                        ValidationResults results)
Implementation of validate.

Specified by:
validate in interface FeatureValidation
Overrides:
validate in class DefaultFeatureValidation
Parameters:
feature -
type -
results -
Returns:
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()

getAttributeName

public java.lang.String getAttributeName()
Access attributeName property.

Returns:
Returns the attributeName.

setAttributeName

public void setAttributeName(java.lang.String attrName)
Set attributeName to attributeName.

Parameters:
attrName - The attributeName 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.


Copyright © GeoTools. All Rights Reserved.