Interface Validator
-
- All Known Subinterfaces:
DocumentViewXmlValidator
,FilterValidator
,GenericJcrDataValidator
,GenericMetaInfDataValidator
,JcrPathValidator
,MetaInfPathValidator
,NodePathValidator
,OsgiConfigurationValidator
,PropertiesValidator
@ProviderType public interface Validator
Base interface for all validators. Instead of implementing this generic interface each validator should rather implement one of the sub interfaces. A validator is created perValidationContext
individually and only used from a single thread. Also the instance is only used for one package at most (i.e. subpackages get another instance).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable Collection<ValidationMessage>
done()
Called when the validation is done for oneValidationContext
(this instance is no longer needed)
-
-
-
Method Detail
-
done
@Nullable @Nullable Collection<ValidationMessage> done()
Called when the validation is done for oneValidationContext
(this instance is no longer needed)- Returns:
- validation messages or
null
-
-