public class DomainValidation extends DefaultFeatureValidation
TODO Explain this, no idea.
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL
Constructor and Description |
---|
DomainValidation()
DomainValidation constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
validate(SimpleFeature feature,
SimpleFeatureType type,
ValidationResults results)
Validation test for feature.
|
getDefaultLineString, getDescription, getName, getPriority, getTypeRef, getTypeRefs, setDescription, setName, setTypeRef
public DomainValidation()
Description
public boolean validate(SimpleFeature feature, SimpleFeatureType type, ValidationResults results)
Description of test ...
validate
in interface FeatureValidation
validate
in class DefaultFeatureValidation
feature
- The Feature to be validatedtype
- The FeatureType of the featureresults
- The storage for error messages.true
if the feature is a valid geometry.FeatureValidation.validate(org.opengis.feature.simple.SimpleFeature, org.opengis.feature.simple.SimpleFeatureType, org.geotools.validation.ValidationResults)
Copyright © 1996–2019 Geotools. All rights reserved.