org.springjutsu.validation.executors.impl
Class EmailRuleExecutor

java.lang.Object
  extended by org.springjutsu.validation.executors.ValidWhenEmptyRuleExecutor
      extended by org.springjutsu.validation.executors.RegexMatchRuleExecutor
          extended by org.springjutsu.validation.executors.impl.EmailRuleExecutor
All Implemented Interfaces:
RuleExecutor

public class EmailRuleExecutor
extends RegexMatchRuleExecutor

Asserts that the model is an email address string.

Author:
Clark Duplichien, Taylor Wicksell

Field Summary
static String EMAIL_PATTERN
          A pattern for common email addresses.
 
Constructor Summary
EmailRuleExecutor()
           
 
Method Summary
 String getRegularExpression()
           
 
Methods inherited from class org.springjutsu.validation.executors.RegexMatchRuleExecutor
doValidate
 
Methods inherited from class org.springjutsu.validation.executors.ValidWhenEmptyRuleExecutor
validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMAIL_PATTERN

public static final String EMAIL_PATTERN
A pattern for common email addresses.

See Also:
Constant Field Values
Constructor Detail

EmailRuleExecutor

public EmailRuleExecutor()
Method Detail

getRegularExpression

public String getRegularExpression()
Specified by:
getRegularExpression in class RegexMatchRuleExecutor


Copyright © 2013 Spring Jutsu. All Rights Reserved.