| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Collates results of validation operations.
Following the lead the excelent design work in the JUnit testing framework validation results are collected by a ValidationResults object. This interface for the ValidationResults object also allows it to collect warning information.
| Method Summary | |
 void | 
error(org.geotools.feature.Feature feature,
      java.lang.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(org.geotools.feature.Feature feature,
        java.lang.String message)
Returns a validation warning against the provided feature.  | 
| Method Detail | 
public void setValidation(Validation validation)
validation - Provided FeatureValidation
public void error(org.geotools.feature.Feature feature,
                  java.lang.String message)
feature - Feature found invalidmessage - Optional error message. Use a non null message to provide
        specific failure information.
public void warning(org.geotools.feature.Feature feature,
                    java.lang.String message)
feature - Feature found to be in errormessage - Optional warning message. Use a non null message to
        provide specific warning information.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||