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)
Deprecated.
since 5.9
TODO: Delete this constructor after 6.0
|
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,
com.atlassian.util.concurrent.Supplier<ConfluenceBigPipeManager> bigPipeManager,
com.atlassian.util.concurrent.Supplier<BigPipeSettingsManager> bigPipeSettingsManager) |
Modifier and Type | Method and Description |
---|---|
Streamable |
marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext)
Marshals an object to XML.
|
@Deprecated 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)
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, com.atlassian.util.concurrent.Supplier<ConfluenceBigPipeManager> bigPipeManager, com.atlassian.util.concurrent.Supplier<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–2017 Atlassian. All rights reserved.