- Type Parameters:
T
- type of validatable value
- All Superinterfaces:
IClusterable
,Serializable
- All Known Subinterfaces:
INullAcceptingValidator<T>
- All Known Implementing Classes:
AbstractRangeValidator
,CompoundValidator
,CreditCardValidator
,DateValidator
,EmailAddressValidator
,PatternValidator
,PropertyValidator
,RangeValidator
,RfcCompliantEmailAddressValidator
,StringValidator
,UrlValidator
,ValidatorAdapter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface representing a validator that can validate an
IValidatable
object.
Unless the validator implements the INullAcceptingValidator
interface as well, Wicket
will not pass null
values to the validate(IValidatable)
method.
- Since:
- 1.2.6
- Author:
- Jonathan Locke, Igor Vaynberg (ivaynberg)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(IValidatable<T> validatable) Validates theIValidatable
instance.
-
Method Details
-
validate
Validates theIValidatable
instance. Validation errors should be reported using theIValidatable.error(IValidationError)
method.- Parameters:
validatable
- theIValidatable
instance being validated
-