Class AbstractValidator<C,​T>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractValidator​(java.lang.Class<C> constraintType, java.lang.Class<T> valueType, java.lang.String messageKey, JavaScriptSupport javaScriptSupport)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<C> getConstraintType()
      Returns the type of constraint value used with this validator.
      java.lang.String getMessageKey()
      Returns the message key, within the validation messages, normally used by this validator.
      java.lang.Class<T> getValueType()
      Returns the value type associated with this validator.
      boolean isRequired()
      Return false, which is correct for the vast majority of validators.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait