Package org.openxava.validators
Class TolerantValidator
- java.lang.Object
-
- org.openxava.validators.TolerantValidator
-
- All Implemented Interfaces:
java.io.Serializable
,IPropertyValidator
public class TolerantValidator extends java.lang.Object implements IPropertyValidator
Everything is valid.- Author:
- Javier Paniza
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TolerantValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate(Messages errors, java.lang.Object object, java.lang.String objectName, java.lang.String propertyName)
Validate.
-
-
-
Method Detail
-
validate
public void validate(Messages errors, java.lang.Object object, java.lang.String objectName, java.lang.String propertyName) throws java.rmi.RemoteException
Description copied from interface:IPropertyValidator
Validate.The validation errors are added to an object of type
Messages
.- Specified by:
validate
in interfaceIPropertyValidator
- Parameters:
errors
- Not null. Ids list to read in the resources fileobject
- Value to validate. It can be nullobjectName
- Property id in the resources filepropertyName
- Object id in the resources file.- Throws:
java.rmi.RemoteException
-
-