public interface

MacroReplacementRenderer

com.atlassian.confluence.content.render.xhtml.migration.MacroReplacementRenderer
Known Indirect Subclasses

Class Overview

Generates a rendering that is to replace or override the default rendering of a macro to XHTML storage format. This interface is needed since some macros do not need to be represented as macros in XHTML (they have specific or better markup in XHTML). E.g. {section} and {column} are better represented as a table

Summary

Public Methods
Set<String> getHandledClasses()
String render(MacroDefinition macro, RenderContext renderContext)

Public Methods

public Set<String> getHandledClasses ()

Returns
  • a Set of class names (as Strings) of v2 Macro implementations that this MacroReplacementRenderer applies to.

public String render (MacroDefinition macro, RenderContext renderContext)