|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.validation.DefaultFeatureValidation
org.geotools.validation.attributes.SingleValueValidation
public class SingleValueValidation
SingleValueValidation purpose.
Checks to ensure there is a single value for the feature.
Field Summary |
---|
Fields inherited from interface org.geotools.validation.Validation |
---|
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL |
Constructor Summary | |
---|---|
SingleValueValidation()
SingleValueValidation constructor. |
Method Summary | |
---|---|
boolean |
validate(org.opengis.feature.simple.SimpleFeature feature,
org.opengis.feature.simple.SimpleFeatureType type,
ValidationResults results)
SingleValueValidation 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 |
---|
public SingleValueValidation()
Super
Method Detail |
---|
public boolean validate(org.opengis.feature.simple.SimpleFeature feature, org.opengis.feature.simple.SimpleFeatureType type, ValidationResults results)
Checks to ensure there is a single value for the feature.
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |