Interface PlaceholderUrlFactory
-
- All Known Implementing Classes:
DefaultPlaceholderUrlFactory
public interface PlaceholderUrlFactoryGenerates URLs for placeholders.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetUrlForErrorPlaceholder(String errorI18nKey)StringgetUrlForMacro(MacroDefinition macroDefinition)StringgetUrlForMacroHeading(MacroDefinition macroDefinition)StringgetUrlForUnknownAttachment()StringgetUrlForUnknownMacro(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
-
-