Class AbstractWordConstraint

    • Field Detail

      • max

        protected int max
      • min

        protected int min
      • allowSpaces

        protected boolean allowSpaces
    • Constructor Detail

      • AbstractWordConstraint

        public AbstractWordConstraint()
    • Method Detail

      • hasError

        protected boolean hasError​(Object field,
                                   javax.validation.ConstraintValidatorContext cxt)
        Specified by:
        hasError in class AbstractConstraint
      • isAlpha

        protected abstract boolean isAlpha​(Object field,
                                           boolean allowSpaces)