Package org.javalite.validation
Class RegexpValidator
- java.lang.Object
-
- org.javalite.validation.ValidatorAdapter
-
- org.javalite.validation.RegexpValidator
-
- All Implemented Interfaces:
Validator
- Direct Known Subclasses:
EmailValidator
public class RegexpValidator extends ValidatorAdapter
-
-
Constructor Summary
Constructors Constructor Description RegexpValidator(String attribute, String rule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate(Validatable validatable)Called by framework when validation is required-
Methods inherited from class org.javalite.validation.ValidatorAdapter
formatMessage, getMessage, pinMessage, setMessage
-
-
-
-
Method Detail
-
validate
public void validate(Validatable validatable)
Description copied from interface:ValidatorCalled by framework when validation is required- Parameters:
validatable- map being validated.
-
-