org.springmodules.validation.bean.rule
Class EmailValidationRule

java.lang.Object
  extended by org.springmodules.validation.bean.rule.AbstractValidationRule
      extended by org.springmodules.validation.bean.rule.EmailValidationRule
All Implemented Interfaces:
ValidationRule

public class EmailValidationRule
extends AbstractValidationRule

An AbstractValidationRule implementation that validates and checks that a string is a valid email.

Author:
Uri Boness

Field Summary
static String DEFAULT_ERROR_CODE
           
 
Constructor Summary
EmailValidationRule()
          Constructs a new EmailValidationRule.
 
Method Summary
 Condition getCondition()
          Returns the condition of this validation rule.
 
Methods inherited from class org.springmodules.validation.bean.rule.AbstractValidationRule
checkContexts, createErrorArgumentsResolver, createErrorArgumentsResolver, createErrorArgumentsResolver, createErrorArgumentsResolver, getDefaultErrorMessage, getErrorArguments, getErrorCode, isApplicable, setApplicabilityCondition, setContextTokens, setDefaultErrorMessage, setErrorArgumentsResolver, setErrorCode, supportsNullValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ERROR_CODE

public static final String DEFAULT_ERROR_CODE
See Also:
Constant Field Values
Constructor Detail

EmailValidationRule

public EmailValidationRule()
Constructs a new EmailValidationRule.

Method Detail

getCondition

public Condition getCondition()
Returns the condition of this validation rule.

Returns:
The condition of this validation rule.
See Also:
ValidationRule.getCondition()


Copyright © 2009. All Rights Reserved.