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)
ValidationResultssetValidation in interface ValidationResultsvalidation - Provided FeatureValidationpublic void error(SimpleFeature feature, String message)
ValidationResultserror in interface ValidationResultsfeature - Feature found invalidmessage - Optional error message. Use a non null message to provide specific failure
information.public void warning(SimpleFeature feature, String message)
ValidationResultswarning in interface ValidationResultsfeature - 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.