public class CustomImageEditorMacroMarshaller extends Object implements MacroMarshaller
EditorImagePlaceholder interface and therefore
displays a custom image in the editor| Constructor and Description |
|---|
CustomImageEditorMacroMarshaller(CommonMacroAttributeWriter commonAttributeWriter,
ContextPathHolder contextPathHolder,
PlaceholderUrlFactory placeholderUrlFactory,
XMLOutputFactory xmlOutputFactory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handles(Macro macro) |
Streamable |
marshal(Macro macro,
MacroDefinition macroDefinition,
ConversionContext conversionContext)
Marshall the supplied macro.
|
public CustomImageEditorMacroMarshaller(CommonMacroAttributeWriter commonAttributeWriter, ContextPathHolder contextPathHolder, PlaceholderUrlFactory placeholderUrlFactory, XMLOutputFactory xmlOutputFactory)
public boolean handles(Macro macro)
handles in interface MacroMarshallermacro - the macro to check. This may be null.public Streamable marshal(Macro macro, MacroDefinition macroDefinition, ConversionContext conversionContext) throws XhtmlException
MacroMarshallermarshal in interface MacroMarshallermacro - the macro to be marshalled. It may be null, such as in the case where a Macro has not been identified by the system.XhtmlExceptionCopyright © 2003–2022 Atlassian. All rights reserved.