public class ViewMacroMarshallerFactoryImpl extends Object implements ViewMacroMarshallerFactory
Constructor and Description |
---|
ViewMacroMarshallerFactoryImpl(MacroManager macroManager,
ViewMacroErrorPlaceholder viewMacroErrorPlaceholder,
LegacyV2RendererContextInitialiser legacyV2RendererConfigurationPropertySetter,
com.atlassian.event.api.EventPublisher eventPublisher,
XMLOutputFactory xmlOutputFactory,
PlaceholderUrlFactory placeholderUrlFactory,
ConfluenceMonitoring monitoring,
MacroAsyncRenderWhitelist macroAsyncRenderWhiteList,
MacroMetadataManager macroMetadataManager,
MacroSchemaMigrator macroSchemaMigrator,
ViewMacroWrapper viewMacroWrapper,
MacroRenderingMonitor macroRenderingMonitor) |
Modifier and Type | Method and Description |
---|---|
Marshaller<MacroDefinition> |
newMacroMarshaller()
Get a new instance of the default view macro Marshaller.
|
Marshaller<MacroDefinition> |
newMacroMarshaller(MacroManager macroManager,
Marshaller<MacroDefinition> unknownMacroMarshaller,
ViewMacroErrorPlaceholder viewMacroErrorPlaceholder)
Get a new instance of a macro Marshaller which uses the supplied MacroManager, unknown macro Marshaller
and ViewMacroErrorPlaceholder.
|
Marshaller<MacroDefinition> |
newUnknownMacroMarshaller() |
public ViewMacroMarshallerFactoryImpl(MacroManager macroManager, ViewMacroErrorPlaceholder viewMacroErrorPlaceholder, LegacyV2RendererContextInitialiser legacyV2RendererConfigurationPropertySetter, com.atlassian.event.api.EventPublisher eventPublisher, XMLOutputFactory xmlOutputFactory, PlaceholderUrlFactory placeholderUrlFactory, ConfluenceMonitoring monitoring, MacroAsyncRenderWhitelist macroAsyncRenderWhiteList, MacroMetadataManager macroMetadataManager, MacroSchemaMigrator macroSchemaMigrator, ViewMacroWrapper viewMacroWrapper, MacroRenderingMonitor macroRenderingMonitor)
public Marshaller<MacroDefinition> newMacroMarshaller()
ViewMacroMarshallerFactory
newMacroMarshaller
in interface ViewMacroMarshallerFactory
public Marshaller<MacroDefinition> newMacroMarshaller(MacroManager macroManager, Marshaller<MacroDefinition> unknownMacroMarshaller, ViewMacroErrorPlaceholder viewMacroErrorPlaceholder)
ViewMacroMarshallerFactory
If any of the parameters are null then the default version will be used in the returned marshaller.
newMacroMarshaller
in interface ViewMacroMarshallerFactory
macroManager
- a custom macro manager to be used by the returned Marshallerpublic Marshaller<MacroDefinition> newUnknownMacroMarshaller()
newUnknownMacroMarshaller
in interface ViewMacroMarshallerFactory
Copyright © 2003–2019 Atlassian. All rights reserved.