org.apache.wicket.validation
Interface INullAcceptingValidator<T>

Type Parameters:
T - type of validatable
All Superinterfaces:
IClusterable, IValidator<T>, java.io.Serializable
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.

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

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



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