org.geotools.validation.attributes
Class DomainValidation
Object
DefaultFeatureValidation
DomainValidation
- All Implemented Interfaces:
- FeatureValidation, Validation
public class DomainValidation
- extends DefaultFeatureValidation
DomainValidation purpose.
TODO Explain this, no idea.
- Author:
- dzwiers, Refractions Research, Inc., $Author: dmzwiers $ (last modification)
- Module:
modules/extension/validation (gt-validation.jar)
Method Summary |
boolean |
validate(SimpleFeature feature,
SimpleFeatureType type,
ValidationResults results)
Validation test for feature. |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainValidation
public DomainValidation()
- DomainValidation constructor.
Description
validate
public boolean validate(SimpleFeature feature,
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 validatedtype
- The FeatureType of the featureresults
- 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.