public final class DefaultFeatureResults extends Object implements ValidationResults
Constructor and Description |
---|
DefaultFeatureResults() |
Modifier and Type | Method and Description |
---|---|
void |
error(SimpleFeature feature,
String message)
Returns a validation error on against the provided feature, An optional error message may be
provided.
|
void |
setValidation(Validation validation)
Called to configure ValidationResults according to the provided FeatureValidation
|
void |
warning(SimpleFeature feature,
String message)
Returns a validation warning against the provided feature.
|
public void setValidation(Validation validation)
ValidationResults
setValidation
in interface ValidationResults
validation
- Provided FeatureValidationpublic void error(SimpleFeature feature, String message)
ValidationResults
error
in interface ValidationResults
feature
- Feature found invalidmessage
- Optional error message. Use a non null message to provide specific failure
information.public void warning(SimpleFeature feature, String message)
ValidationResults
warning
in interface ValidationResults
feature
- Feature found to be in errormessage
- Optional warning message. Use a non null message to provide specific warning
information.Copyright © 1996–2019 Geotools. All rights reserved.