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,
org.springframework.core.io.Resource macroAsyncRenderWhiteListLocation,
MacroMetadataManager macroMetadataManager,
MacroSchemaMigrator macroSchemaMigrator,
DarkFeaturesManager darkFeaturesManager,
ViewMacroWrapper viewMacroWrapper) |
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, org.springframework.core.io.Resource macroAsyncRenderWhiteListLocation, MacroMetadataManager macroMetadataManager, MacroSchemaMigrator macroSchemaMigrator, DarkFeaturesManager darkFeaturesManager, ViewMacroWrapper viewMacroWrapper)
public Marshaller<MacroDefinition> newMacroMarshaller()
ViewMacroMarshallerFactory
newMacroMarshaller
in interface ViewMacroMarshallerFactory
public Marshaller<MacroDefinition> newMacroMarshaller(MacroManager macroManager, Marshaller<MacroDefinition> unknownMacroMarshaller, ViewMacroErrorPlaceholder viewMacroErrorPlaceholder)
ViewMacroMarshallerFactory
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–2015 Atlassian. All rights reserved.