Class EditorMacroMarshaller
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.editor.macro.EditorMacroMarshaller
-
- All Implemented Interfaces:
Marshaller<MacroDefinition>
public class EditorMacroMarshaller extends Object implements Marshaller<MacroDefinition>
-
-
Constructor Summary
Constructors Constructor Description EditorMacroMarshaller(MacroManager macroManager, List<MacroMarshaller> macroMarshallers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Streamablemarshal(MacroDefinition macroDefinition, ConversionContext conversionContext)Marshals an object to XML.
-
-
-
Constructor Detail
-
EditorMacroMarshaller
public EditorMacroMarshaller(MacroManager macroManager, List<MacroMarshaller> macroMarshallers)
-
-
Method Detail
-
marshal
public Streamable marshal(MacroDefinition macroDefinition, ConversionContext conversionContext) throws XhtmlException
Description copied from interface:MarshallerMarshals an object to XML.- Specified by:
marshalin interfaceMarshaller<MacroDefinition>- Parameters:
macroDefinition- object to marshalconversionContext- the conversion context- Returns:
- the XML representation of the object
- Throws:
XhtmlException- if an error occurs during marshalling
-
-