org.openxava.validators
Class TolerantValidator

java.lang.Object
  extended by 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
TolerantValidator()
           
 
Method Summary
 void validate(Messages errors, java.lang.Object object, java.lang.String objectName, java.lang.String propertyName)
          Validate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TolerantValidator

public TolerantValidator()
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 interface IPropertyValidator
Parameters:
errors - Not null. Ids list to read in the resources file
object - Value to validate. It can be null
objectName - Property id in the resources file
propertyName - Object id in the resources file.
Throws:
java.rmi.RemoteException