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,
ViewMacroWrapper viewMacroWrapper,
MacroRenderingMonitor macroRenderingMonitor) |
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, ViewMacroWrapper viewMacroWrapper, MacroRenderingMonitor macroRenderingMonitor)
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–2019 Atlassian. All rights reserved.