Class CoordinatesValidator

java.lang.Object
org.openxava.validators.CoordinatesValidator
All Implemented Interfaces:
Serializable, IPropertyValidator

public class CoordinatesValidator extends Object implements IPropertyValidator
Since:
6.6
Author:
Javier Paniza
See Also:
  • Constructor Details

    • CoordinatesValidator

      public CoordinatesValidator()
  • Method Details

    • validate

      public void validate(Messages errors, Object value, String propertyName, String modelName) throws Exception
      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
      value - Value to validate. It can be null
      propertyName - Property id in the resources file
      modelName - Object id in the resources file.
      Throws:
      Exception - Any unexpected problem.