Package ninja.validation
Class Validators.NumberValidator
- java.lang.Object
-
- ninja.validation.Validators.NumberValidator
-
-
Constructor Summary
Constructors Constructor Description NumberValidator(NumberValue number)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<Number>
getValidatedType()
Get the type that this validator validatesvoid
validate(Number value, String field, Context context)
Validate the given value
-
-
-
Constructor Detail
-
NumberValidator
public NumberValidator(NumberValue number)
-
-