public class ViewMacroMarshaller extends Object implements Marshaller<MacroDefinition>
Constructor and Description |
---|
ViewMacroMarshaller(MacroManager macroManager,
Marshaller<MacroDefinition> unknownMacroMarshaller,
ViewMacroErrorPlaceholder viewMacroErrorPlaceholder,
LegacyV2RendererContextInitialiser legacyV2RendererConfigurationPropertySetter,
com.atlassian.event.api.EventPublisher eventPublisher,
ConfluenceMonitoring monitoring,
MacroAsyncRenderWhitelist macroAsyncRenderWhitelist,
MacroMetadataManager macroMetadataManager,
MacroSchemaMigrator macroSchemaMigrator,
DarkFeaturesManager darkFeaturesManager,
ViewMacroWrapper viewMacroWrapper,
ConfluenceBigPipeManager bigPipeManager,
BigPipeSettingsManager bigPipeSettingsManager) |
Modifier and Type | Method and Description |
---|---|
Streamable |
marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext)
Marshals an object to XML.
|
public ViewMacroMarshaller(MacroManager macroManager, Marshaller<MacroDefinition> unknownMacroMarshaller, ViewMacroErrorPlaceholder viewMacroErrorPlaceholder, LegacyV2RendererContextInitialiser legacyV2RendererConfigurationPropertySetter, com.atlassian.event.api.EventPublisher eventPublisher, ConfluenceMonitoring monitoring, MacroAsyncRenderWhitelist macroAsyncRenderWhitelist, MacroMetadataManager macroMetadataManager, MacroSchemaMigrator macroSchemaMigrator, DarkFeaturesManager darkFeaturesManager, ViewMacroWrapper viewMacroWrapper, ConfluenceBigPipeManager bigPipeManager, BigPipeSettingsManager bigPipeSettingsManager)
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–2016 Atlassian. All rights reserved.