public class

EditorBodyMacroMarshaller

extends Object
implements MacroMarshaller
java.lang.Object
   ↳ com.atlassian.confluence.content.render.xhtml.editor.macro.EditorBodyMacroMarshaller

Class Overview

Marshal macros that have a body to editor format

Summary

Public Constructors
EditorBodyMacroMarshaller(CommonMacroAttributeWriter commonAttributeWriter, PlaceholderUrlFactory placeholderUrlFactory, XMLOutputFactory xmlOutputFactory)
Public Methods
boolean handles(Macro macro)
String marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)
Marshall the supplied macro.@return
Protected Methods
String getCssClass(MacroDefinition definition)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.content.render.xhtml.editor.macro.MacroMarshaller

Public Constructors

public EditorBodyMacroMarshaller (CommonMacroAttributeWriter commonAttributeWriter, PlaceholderUrlFactory placeholderUrlFactory, XMLOutputFactory xmlOutputFactory)

Public Methods

public boolean handles (Macro macro)

public String marshal (Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext)

Marshall the supplied macro.@return

Parameters
macro the macro to be marshalled. It may be null, such as in the case where a Macro has not been identified by the system.

Protected Methods

protected String getCssClass (MacroDefinition definition)