Class ValidationMessageHandler

    • Method Detail

      • parseErrorCode

        protected void parseErrorCode​(String errorCodeKey)
      • updateValidatorType

        protected void updateValidatorType​(ValidatorTypeCode validatorTypeCode)
      • updateErrorMessageType

        protected void updateErrorMessageType​(ErrorMessageType errorMessageType)
      • updateKeyword

        protected void updateKeyword​(Keyword keyword)
      • getErrorMessage

        protected Map<String,​String> getErrorMessage​(com.fasterxml.jackson.databind.JsonNode schemaNode,
                                                           String keyword)
        Gets the custom error message to use.
        Parameters:
        schemaNode - the schema node
        keyword - the keyword
        Returns:
        the custom error message
      • getMessageNode

        protected com.fasterxml.jackson.databind.JsonNode getMessageNode​(com.fasterxml.jackson.databind.JsonNode schemaNode,
                                                                         JsonSchema parentSchema,
                                                                         String pname)
      • getErrorCodeKey

        protected String getErrorCodeKey​(String keyword)