Interface TemplateEncoder.Modifier

  • Enclosing class:
    TemplateEncoder

    public static interface TemplateEncoder.Modifier
    Interface representing a modifier.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object apply​(java.lang.Object value, java.lang.String argument, java.util.Locale locale, java.util.TimeZone timeZone)
      Applies the modifier.
    • Method Detail

      • apply

        java.lang.Object apply​(java.lang.Object value,
                               java.lang.String argument,
                               java.util.Locale locale,
                               java.util.TimeZone timeZone)
        Applies the modifier.
        Parameters:
        value - The value to which the modifier is being be applied.
        argument - The modifier argument, or null if no argument was provided.
        locale - The locale for which the modifier is being applied.
        timeZone - The time zone for which the modifier is being applied.
        Returns:
        The modified value.