org.srplib.validation
Class EmailAddressValidator

java.lang.Object
  extended by org.srplib.validation.AbstractValidator<String>
      extended by org.srplib.validation.RegexpValidator
          extended by org.srplib.validation.EmailAddressValidator
All Implemented Interfaces:
Validator<String>

public class EmailAddressValidator
extends RegexpValidator

Validates if string represents email address.

Author:
Anton Pechinsky

Constructor Summary
EmailAddressValidator()
           
 
Method Summary
protected  ValidationError newError()
           
 
Methods inherited from class org.srplib.validation.RegexpValidator
isValid
 
Methods inherited from class org.srplib.validation.AbstractValidator
validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailAddressValidator

public EmailAddressValidator()
Method Detail

newError

protected ValidationError newError()
Overrides:
newError in class RegexpValidator


Copyright © 2012. All Rights Reserved.