Class UserValidator

java.lang.Object
com.foreach.across.modules.user.services.UserValidator
All Implemented Interfaces:
org.springframework.validation.Validator

@Service public class UserValidator extends Object implements org.springframework.validation.Validator
  • Constructor Details

    • UserValidator

      public UserValidator()
  • Method Details

    • validate

      public void validate(Object target, org.springframework.validation.Errors errors)
      Specified by:
      validate in interface org.springframework.validation.Validator
    • supports

      public boolean supports(Class<?> clazz)
      Specified by:
      supports in interface org.springframework.validation.Validator