public class StorageMacroV2Marshaller extends Object implements Marshaller<MacroDefinition>
MacroDefinition
into macro v2 storage format.Constructor and Description |
---|
StorageMacroV2Marshaller(XmlOutputFactory xmlOutputFactory,
MacroMetadataManager macroMetadataManager,
Marshaller<ResourceIdentifier> resourceIdentifierMarshaller,
Marshaller<Link> linkMarshaller,
MacroParameterTypeParser macroParameterTypeParser,
MacroIdSupplier macroIdSupplier,
MacroSchemaMigrator macroSchemaMigrator,
MacroManager macroManager) |
Modifier and Type | Method and Description |
---|---|
Streamable |
marshal(MacroDefinition originalMacroDefinition,
ConversionContext conversionContext)
Marshals an object to XML.
|
public StorageMacroV2Marshaller(XmlOutputFactory xmlOutputFactory, MacroMetadataManager macroMetadataManager, Marshaller<ResourceIdentifier> resourceIdentifierMarshaller, Marshaller<Link> linkMarshaller, MacroParameterTypeParser macroParameterTypeParser, MacroIdSupplier macroIdSupplier, MacroSchemaMigrator macroSchemaMigrator, MacroManager macroManager)
public Streamable marshal(MacroDefinition originalMacroDefinition, ConversionContext conversionContext) throws XhtmlException
Marshaller
marshal
in interface Marshaller<MacroDefinition>
originalMacroDefinition
- object to marshalconversionContext
- the conversion contextXhtmlException
- if an error occurs during marshallingCopyright © 2003–2021 Atlassian. All rights reserved.