com.avaje.ebean.validation.factory
Class LengthValidatorFactory
java.lang.Object
com.avaje.ebean.validation.factory.LengthValidatorFactory
- All Implemented Interfaces:
- ValidatorFactory
public final class LengthValidatorFactory
- extends Object
- implements ValidatorFactory
Creates a String length validator.
LengthValidatorFactory
public LengthValidatorFactory()
create
public Validator create(Annotation annotation,
Class<?> type)
- Description copied from interface:
ValidatorFactory
- Create the validator given the annotation.
- Specified by:
create
in interface ValidatorFactory
create
public static Validator create(int min,
int max)
- Create or get a LengthValidator single threaded.
Copyright © 2010. All Rights Reserved.