Interface PlaceholderUrlFactory
-
- All Known Implementing Classes:
DefaultPlaceholderUrlFactory
public interface PlaceholderUrlFactory
Generates URLs for placeholders.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getUrlForErrorPlaceholder(String errorI18nKey)
String
getUrlForMacro(MacroDefinition macroDefinition)
String
getUrlForMacroHeading(MacroDefinition macroDefinition)
String
getUrlForUnknownAttachment()
String
getUrlForUnknownMacro(String macroName)
-
-
-
Method Detail
-
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
-
-