com.avaje.ebean.validation.factory
Class PatternValidatorFactory
java.lang.Object
com.avaje.ebean.validation.factory.PatternValidatorFactory
- All Implemented Interfaces:
- ValidatorFactory
public final class PatternValidatorFactory
- extends Object
- implements ValidatorFactory
Creates a String length validator.
PatternValidatorFactory
public PatternValidatorFactory()
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(String regex,
int flags)
- Create or get a LengthValidator single threaded.
Copyright © 2010. All Rights Reserved.