Class Validator

    • Constructor Summary

      Constructors 
      Constructor Description
      Validator()  
      Validator​(java.util.Map<java.lang.String,​java.lang.Object> params)  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void validateField​(java.lang.String name, java.lang.Object o)
      validate the field value o that belogs to the field which is named name This method should throw IllegalArgumentException in case o doesn't validate per this validator's implementation.
      • Methods inherited from class java.lang.Object

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

      • Validator

        public Validator​(java.util.Map<java.lang.String,​java.lang.Object> params)
      • Validator

        public Validator()
    • Method Detail

      • validateField

        public abstract void validateField​(java.lang.String name,
                                           java.lang.Object o)
        validate the field value o that belogs to the field which is named name This method should throw IllegalArgumentException in case o doesn't validate per this validator's implementation.