public class TolerantValidator extends java.lang.Object implements IPropertyValidator
Constructor and Description |
---|
TolerantValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(Messages errors,
java.lang.Object object,
java.lang.String objectName,
java.lang.String propertyName)
Validate.
|
public void validate(Messages errors, java.lang.Object object, java.lang.String objectName, java.lang.String propertyName) throws java.rmi.RemoteException
IPropertyValidator
The validation errors are added to an object of type Messages
.
validate
in interface IPropertyValidator
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.java.rmi.RemoteException