com.avaje.ebean.validation.factory
Class EmailValidatorFactory.EmailValidator
java.lang.Object
com.avaje.ebean.validation.factory.NoAttributesValidator
com.avaje.ebean.validation.factory.EmailValidatorFactory.EmailValidator
- All Implemented Interfaces:
- Validator
- Enclosing class:
- EmailValidatorFactory
public static class EmailValidatorFactory.EmailValidator
- extends NoAttributesValidator
Method Summary |
String |
getKey()
Return a String key used to identify the validator. |
boolean |
isValid(Object value)
Return true if the value is valid. |
getKey
public String getKey()
- Description copied from interface:
Validator
- Return a String key used to identify the validator.
This is used to identify the type of validation error and look up a
localised error message.
isValid
public boolean isValid(Object value)
- Description copied from interface:
Validator
- Return true if the value is valid.
- Parameters:
value
- the property value being tested.
Copyright © 2010. All Rights Reserved.