public class DelegatingEditorMacroMarshaller extends Object implements Marshaller<MacroDefinition>
Marshaller of MacroDefinitions to editor format, which applies schema migrations before delegating
to the EditorMarshaller depending on the MacroDefinition.| Constructor and Description |
|---|
DelegatingEditorMacroMarshaller(EditorMacroMarshaller macroMarshaller,
MacroSchemaMigrator macroSchemaMigrator) |
| Modifier and Type | Method and Description |
|---|---|
Streamable |
marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext)
Marshals an object to XML.
|
public DelegatingEditorMacroMarshaller(EditorMacroMarshaller macroMarshaller, MacroSchemaMigrator macroSchemaMigrator)
public Streamable marshal(MacroDefinition macroDefinition, ConversionContext conversionContext) throws XhtmlException
Marshallermarshal in interface Marshaller<MacroDefinition>macroDefinition - object to marshalconversionContext - the conversion contextXhtmlException - if an error occurs during marshallingCopyright © 2003–2017 Atlassian. All rights reserved.