Class HtmlExportLinkFormatter
- java.lang.Object
-
- com.atlassian.confluence.importexport.impl.HtmlExportLinkFormatter
-
- All Implemented Interfaces:
ExportLinkFormatter
public class HtmlExportLinkFormatter extends Object implements ExportLinkFormatter
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringformat(com.atlassian.renderer.links.Link link, PageContext context)Formats the link to link to the exported content.static HtmlExportLinkFormattergetInstance()booleanisFormatSupported(com.atlassian.renderer.links.Link link)Returns true if the formatter can format the given link type.
-
-
-
Method Detail
-
getInstance
public static HtmlExportLinkFormatter getInstance()
-
isFormatSupported
public boolean isFormatSupported(com.atlassian.renderer.links.Link link)
Description copied from interface:ExportLinkFormatterReturns true if the formatter can format the given link type.- Specified by:
isFormatSupportedin interfaceExportLinkFormatter
-
format
public String format(com.atlassian.renderer.links.Link link, PageContext context)
Description copied from interface:ExportLinkFormatterFormats the link to link to the exported content. Any prefix/postfixes to links should be included in the formatting.- Specified by:
formatin interfaceExportLinkFormatter
-
-