Interface PlaceholderUrlFactory

All Known Implementing Classes:
DefaultPlaceholderUrlFactory

public interface PlaceholderUrlFactory
Generates URLs for placeholders.
Since:
4.0
  • Method Details

    • getUrlForMacro

      String getUrlForMacro(MacroDefinition macroDefinition)
      Parameters:
      macroDefinition - the macro definition
      Returns:
      the url for a macro placeholder
    • getUrlForMacroHeading

      String getUrlForMacroHeading(MacroDefinition macroDefinition)
      Parameters:
      macroDefinition - the macro definition
      Returns:
      the url for a macro placeholder heading (for a body macro)
    • getUrlForUnknownAttachment

      String getUrlForUnknownAttachment()
      Returns:
      the url for the icon for an unknown attachment placeholder
    • getUrlForUnknownMacro

      String getUrlForUnknownMacro(String macroName)
      Parameters:
      macroName - macro name
      Returns:
      the url for an unknown macro placeholder
    • getUrlForErrorPlaceholder

      String getUrlForErrorPlaceholder(String errorI18nKey)
      Parameters:
      errorI18nKey - the i18n key of the error text
      Returns:
      the url for an error placeholder