Interface INullAcceptingValidator<T>

Type Parameters:
T - type of validatable
All Superinterfaces:
IClusterable, IValidator<T>,
All Known Implementing Classes:
AbstractValidator, CreditCardValidator, DateValidator, EmailAddressValidator, PatternValidator, RfcCompliantEmailAddressValidator, StringValidator, StringValidator.ExactLengthValidator, StringValidator.LengthBetweenValidator, StringValidator.MaximumLengthValidator, StringValidator.MinimumLengthValidator, UrlValidator

public interface INullAcceptingValidator<T>
extends IValidator<T>

Marker interface for validators that will accept a null value. Without implementing this interface Wicket will never pass null values to IValidator.validate(IValidatable).

Keep in mind that the FormComponent must have set the required property to false, otherwise Wicket will not permit the validator to process the null value.

Matej Knopp
See Also:
IValidator, FormComponent.setRequired(boolean)

Method Summary
Methods inherited from interface org.apache.wicket.validation.IValidator

Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.