Class FieldIntegerValidator

  • All Implemented Interfaces:
    org.springframework.validation.Validator

    public class FieldIntegerValidator
    extends AbstractFieldValidator
    Implementation of AbstractFieldValidator that validates one number property in any object if it is numeric.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean supports​(java.lang.Class clazz)  
      void validate​(java.lang.Object target, org.springframework.validation.Errors errors)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FieldIntegerValidator

        public FieldIntegerValidator()
    • Method Detail

      • supports

        public boolean supports​(java.lang.Class clazz)
      • validate

        public void validate​(java.lang.Object target,
                             org.springframework.validation.Errors errors)