com.atlassian.confluence.importexport.impl
Class HtmlExportLinkFormatter

java.lang.Object
  extended by com.atlassian.confluence.importexport.impl.HtmlExportLinkFormatter
All Implemented Interfaces:
ExportLinkFormatter

public class HtmlExportLinkFormatter
extends Object
implements ExportLinkFormatter


Method Summary
 String format(com.atlassian.renderer.links.Link link, PageContext context)
          Formats the link to link to the exported content.
static HtmlExportLinkFormatter getInstance()
           
 boolean isFormatSupported(com.atlassian.renderer.links.Link link)
          Returns true if the formatter can format the given link type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static HtmlExportLinkFormatter getInstance()

isFormatSupported

public boolean isFormatSupported(com.atlassian.renderer.links.Link link)
Description copied from interface: ExportLinkFormatter
Returns true if the formatter can format the given link type.

Specified by:
isFormatSupported in interface ExportLinkFormatter

format

public String format(com.atlassian.renderer.links.Link link,
                     PageContext context)
Description copied from interface: ExportLinkFormatter
Formats the link to link to the exported content. Any prefix/postfixes to links should be included in the formatting.

Specified by:
format in interface ExportLinkFormatter


Copyright © 2003-2012 Atlassian. All Rights Reserved.