Interface IValidator<T>

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.

@FunctionalInterface public interface IValidator<T> extends IClusterable
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 Type
    Method
    Description
    void
    validate(IValidatable<T> validatable)
    Validates the IValidatable instance.