Interface PlaceholderUrlFactory
- All Known Implementing Classes:
DefaultPlaceholderUrlFactory
public interface PlaceholderUrlFactory
Generates URLs for placeholders.
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptiongetUrlForErrorPlaceholder
(String errorI18nKey) getUrlForMacro
(MacroDefinition macroDefinition) getUrlForMacroHeading
(MacroDefinition macroDefinition) getUrlForUnknownMacro
(String macroName)
-
Method Details
-
getUrlForMacro
- Parameters:
macroDefinition
- the macro definition- Returns:
- the url for a macro placeholder
-
getUrlForMacroHeading
- 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
- Parameters:
macroName
- macro name- Returns:
- the url for an unknown macro placeholder
-
getUrlForErrorPlaceholder
- Parameters:
errorI18nKey
- the i18n key of the error text- Returns:
- the url for an error placeholder
-