Uses of Interface
org.javalite.validation.Validator
-
Uses of Validator in org.javalite.activejdbc
Modifier and TypeMethodDescriptionModel.getValidators(Class<? extends Model> clazz)
ModelDelegate.validatorsOf(Class<? extends Model> clazz)
Modifier and TypeMethodDescriptionvoid
Model.addFailedValidator(Validator validator, String errorKey)
Binds a validator to an attribute if validation fails.static ValidationBuilder
Model.addValidator(Validator validator)
Adds a validator to the model.static void
Model.removeValidator(Validator validator)
Removes a validator from model.static void
ModelDelegate.removeValidator(Class<? extends Model> clazz, Validator validator)
protected static ValidationBuilder
Model.validateWith(Validator validator)
Add a custom validator to the model.static ValidationBuilder
ModelDelegate.validateWith(Class<? extends Model> clazz, Validator validator)
-
Uses of Validator in org.javalite.json
Modifier and TypeClassDescriptionclass
Validates a boolean value in a JSON document.class
Superclass for JSON validators.class
class
Validates that an object at a deep path in teh JSIN structure is an instance of ajava.util.Map
. -
Uses of Validator in org.javalite.validation
Modifier and TypeClassDescriptionclass
class
If you are looking conversion, useDateToStringConverter
.class
class
As the name implies, it is implicit, and used internally by ActiveWeb when converting request values into Java beans.class
class
class
Validator designed for use of regular expressions.class
Validates presence and correct format of a string.class
Subclass this class to create custom validators.Modifier and TypeMethodDescriptionvoid
Validatable.addFailedValidator(Validator validator, String errorKey)
This method is not to add validators for future processing.void
ValidationSupport.addFailedValidator(Validator validator, String errorKey)
void
Errors.addValidator(String attributeName, Validator validator)
Adds a validator whose validation failed.void
ValidationSupport.removeValidator(Validator validator)
ValidationSupport.validateWith(Validator validator)
ValidationSupport.validateWith(Validator... validators)
-
Uses of Validator in org.javalite.validation.length