com.atlassian.bamboo.ww2.validators
Class EmailValidator

java.lang.Object
  extended by com.opensymphony.xwork.validator.validators.ValidatorSupport
      extended by com.opensymphony.xwork.validator.validators.FieldValidatorSupport
          extended by com.atlassian.bamboo.ww2.validators.EmailValidator
All Implemented Interfaces:
com.opensymphony.xwork.validator.FieldValidator, com.opensymphony.xwork.validator.ShortCircuitableValidator, com.opensymphony.xwork.validator.Validator

public class EmailValidator
extends com.opensymphony.xwork.validator.validators.FieldValidatorSupport

EmailValidator checks that a given String field, if not empty, is a valid email address.


Field Summary
 
Fields inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport
defaultMessage, messageKey
 
Constructor Summary
EmailValidator()
           
 
Method Summary
 void validate(java.lang.Object object)
           
 
Methods inherited from class com.opensymphony.xwork.validator.validators.FieldValidatorSupport
getFieldName, getValidatorType, setFieldName, setValidatorType
 
Methods inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport
addActionError, addFieldError, conditionalParse, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getMessageParameters, getParse, getValidatorContext, isShortCircuit, setDefaultMessage, setMessageKey, setMessageParameters, setParse, setShortCircuit, setValidatorContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.opensymphony.xwork.validator.Validator
getDefaultMessage, getMessage, getMessageKey, getMessageParameters, getValidatorContext, setDefaultMessage, setMessageKey, setMessageParameters, setValidatorContext
 

Constructor Detail

EmailValidator

public EmailValidator()
Method Detail

validate

public void validate(java.lang.Object object)
              throws com.opensymphony.xwork.validator.ValidationException
Throws:
com.opensymphony.xwork.validator.ValidationException


Copyright © 2012 Atlassian. All Rights Reserved.