public class SingleValueValidation extends DefaultFeatureValidation
Checks to ensure there is a single value for the feature.
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL| Constructor and Description |
|---|
SingleValueValidation()
SingleValueValidation constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
validate(SimpleFeature feature,
SimpleFeatureType type,
ValidationResults results)
SingleValueValidation test for feature.
|
getDefaultLineString, getDescription, getName, getPriority, getTypeRef, getTypeRefs, setDescription, setName, setTypeRefpublic SingleValueValidation()
Super
public boolean validate(SimpleFeature feature, SimpleFeatureType type, ValidationResults results)
Checks to ensure there is a single value for the feature.
validate in interface FeatureValidationvalidate in class DefaultFeatureValidationfeature - 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.