org.geotools.validation.attributes
Class DomainValidation

java.lang.Object
  extended by org.geotools.validation.DefaultFeatureValidation
      extended by org.geotools.validation.attributes.DomainValidation
All Implemented Interfaces:
FeatureValidation, Validation

public class DomainValidation
extends DefaultFeatureValidation

DomainValidation purpose.

TODO Explain this, no idea.

Version:
$Id: DomainValidation.java 30662 2008-06-12 21:44:16Z acuster $
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
DomainValidation()
          DomainValidation constructor.
 
Method Summary
 boolean validate(org.opengis.feature.simple.SimpleFeature feature, org.opengis.feature.simple.SimpleFeatureType type, ValidationResults results)
          Validation test for feature.
 
Methods inherited from class org.geotools.validation.DefaultFeatureValidation
getDefaultLineString, getDescription, getName, getPriority, 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

DomainValidation

public DomainValidation()
DomainValidation constructor.

Description

Method Detail

validate

public boolean validate(org.opengis.feature.simple.SimpleFeature feature,
                        org.opengis.feature.simple.SimpleFeatureType type,
                        ValidationResults results)
Validation test for feature.

Description of test ...

Specified by:
validate in interface FeatureValidation
Overrides:
validate in class DefaultFeatureValidation
Parameters:
feature - The Feature to be validated
type - The FeatureType of the feature
results - The storage for error messages.
Returns:
true if the feature is a valid geometry.
See Also:
FeatureValidation.validate(org.opengis.feature.simple.SimpleFeature, org.opengis.feature.simple.SimpleFeatureType, org.geotools.validation.ValidationResults)


Copyright © 1996-2010 Geotools. All Rights Reserved.