com.atlassian.confluence.content.render.xhtml.editor.macro
Interface PlaceholderUrlFactory
- All Known Implementing Classes:
- DefaultPlaceholderUrlFactory
public interface PlaceholderUrlFactory
Generates URLs for placeholders.
- Since:
- 4.0
getUrlForMacro
java.lang.String getUrlForMacro(MacroDefinition macroDefinition)
- Parameters:
macroDefinition
- the macro definition
- Returns:
- the url for a macro placeholder
getUrlForMacroHeading
java.lang.String getUrlForMacroHeading(MacroDefinition macroDefinition)
- Parameters:
macroDefinition
- the macro definition
- Returns:
- the url for a macro placeholder heading (for a body macro)
getUrlForUnknownAttachment
java.lang.String getUrlForUnknownAttachment()
- Returns:
- the url for the icon for an unknown attachment placeholder
getUrlForUnknownMacro
java.lang.String getUrlForUnknownMacro(java.lang.String macroName)
- Parameters:
macroName
- macro name
- Returns:
- the url for an unknown macro placeholder
getUrlForErrorPlaceholder
java.lang.String getUrlForErrorPlaceholder(java.lang.String errorI18nKey)
- Parameters:
errorI18nKey
- the i18n key of the error text
- Returns:
- the url for an error placeholder
Copyright © 2003-2014 Atlassian. All Rights Reserved.