Interface MessageInterpolator


public interface MessageInterpolator
Reads an Annotation's attributes and the message template and interpolates the message
  • Method Summary

    Modifier and Type
    Method
    Description
    interpolate(String template, Map<String,Object> attributes)
    Interpolate the given message with the annotation attributes
  • Method Details

    • interpolate

      String interpolate(String template, Map<String,Object> attributes)
      Interpolate the given message with the annotation attributes
      Parameters:
      template - The template loaded from annotation/resourceBundle
      attributes - The Constraint annotation's attributes
      Returns:
      The interpolated validation error message