|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.validation.DefaultFeatureValidation org.geotools.validation.attributes.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(Feature feature,
FeatureType 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(Feature feature, FeatureType 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.geotools.feature.Feature, org.geotools.feature.FeatureType, org.geotools.validation.ValidationResults)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |