org.hibernate.validator
Class EmailValidator

java.lang.Object
  extended by org.hibernate.validator.EmailValidator
All Implemented Interfaces:
Serializable, Validator<Email>

public class EmailValidator
extends Object
implements Validator<Email>, Serializable

Check that a given string is a well-formed email address

Author:
Emmanuel Bernard
See Also:
Serialized Form

Constructor Summary
EmailValidator()
           
 
Method Summary
 void initialize(Email parameters)
          Take the annotations values
 boolean isValid(Object value)
          does the object/element pass the constraints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailValidator

public EmailValidator()
Method Detail

isValid

public boolean isValid(Object value)
Description copied from interface: Validator
does the object/element pass the constraints

Specified by:
isValid in interface Validator<Email>

initialize

public void initialize(Email parameters)
Description copied from interface: Validator
Take the annotations values

Specified by:
initialize in interface Validator<Email>