Package org.nuiton.validator.bean
Interface ValidatorCreator<V>
-
public interface ValidatorCreator<V>TODO- Since:
- 2.5.2
- Author:
- Tony Chemit - chemit@codelutin.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <O> VnewValidator(NuitonValidatorProvider provider, Class<O> type, String context, NuitonValidatorScope... scopes)Given the parameters, instanciate a newValidatorCreator.
-
-
-
Method Detail
-
newValidator
<O> V newValidator(NuitonValidatorProvider provider, Class<O> type, String context, NuitonValidatorScope... scopes)
Given the parameters, instanciate a newValidatorCreator.- Type Parameters:
O- type of object to validate- Parameters:
provider- the delegate validator providertype- the type of object to validatecontext- the context of validation (can benull)scopes- scopes to use (if none given, will use all available scopes)- Returns:
- the new instance of bean validator
-
-