com.avaje.ebean.validation.factory
Class EmailValidatorFactory

java.lang.Object
  extended by com.avaje.ebean.validation.factory.EmailValidatorFactory
All Implemented Interfaces:
ValidatorFactory

public class EmailValidatorFactory
extends Object
implements ValidatorFactory

Creates a Email validator.

Note uses Les Hazlewood's validation code with both domain literals and quoted identifiers turned off.


Nested Class Summary
static class EmailValidatorFactory.EmailValidator
           
 
Field Summary
static Validator EMAIL
           
 
Constructor Summary
EmailValidatorFactory()
           
 
Method Summary
 Validator create(Annotation annotation, Class<?> type)
          Create the validator given the annotation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMAIL

public static final Validator EMAIL
Constructor Detail

EmailValidatorFactory

public EmailValidatorFactory()
Method Detail

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


Copyright © 2010. All Rights Reserved.