Class NotEmptyStringValidator
×News: OpenXava 7.7 released - March 9 · Read more
java.lang.Object
org.openxava.validators.NotEmptyStringValidator
- All Implemented Interfaces:
Serializable, IPropertyValidator, IWithMessage
- Author:
- Javier Paniza
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NotEmptyStringValidator
public NotEmptyStringValidator()
-
-
Method Details
-
validate
Description copied from interface:IPropertyValidatorValidate.The validation errors are added to an object of type
Messages.- Specified by:
validatein interfaceIPropertyValidator- Parameters:
errors- Not null. Ids list to read in the resources fileobject- Value to validate. It can be nullpropertyName- Property id in the resources filemodelName- Object id in the resources file.
-
setMessage
- Specified by:
setMessagein interfaceIWithMessage
-