public class DelegatingEditorMacroMarshaller extends Object implements Marshaller<MacroDefinition>
Marshaller
of MacroDefinition
s 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
Marshaller
marshal
in interface Marshaller<MacroDefinition>
macroDefinition
- object to marshalconversionContext
- the conversion contextXhtmlException
- if an error occurs during marshallingCopyright © 2003–2020 Atlassian. All rights reserved.