com.atlassian.confluence.content.render.xhtml.view.macro
Class ViewMacroMarshallerFactoryImpl
java.lang.Object
com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshallerFactoryImpl
- All Implemented Interfaces:
- ViewMacroMarshallerFactory
public class ViewMacroMarshallerFactoryImpl
- extends Object
- implements ViewMacroMarshallerFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewMacroMarshallerFactoryImpl
public ViewMacroMarshallerFactoryImpl(MacroManager macroManager,
ViewMacroErrorPlaceholder viewMacroErrorPlaceholder,
LegacyV2RendererContextInitialiser legacyV2RendererConfigurationPropertySetter,
com.atlassian.event.api.EventPublisher eventPublisher,
XMLOutputFactory xmlOutputFactory,
PlaceholderUrlFactory placeholderUrlFactory)
newMacroMarshaller
public Marshaller<MacroDefinition> newMacroMarshaller()
- Description copied from interface:
ViewMacroMarshallerFactory
- Get a new instance of the default view macro Marshaller.
- Specified by:
newMacroMarshaller
in interface ViewMacroMarshallerFactory
- Returns:
- a new instance of a Marshaller suitable for view marshalling of macros
newMacroMarshaller
public Marshaller<MacroDefinition> newMacroMarshaller(MacroManager macroManager,
Marshaller<MacroDefinition> unknownMacroMarshaller,
ViewMacroErrorPlaceholder viewMacroErrorPlaceholder)
- Description copied from interface:
ViewMacroMarshallerFactory
- Get a new instance of a macro Marshaller which uses the supplied MacroManager, unknown macro Marshaller
and ViewMacroErrorPlaceholder.
If any of the parameters are null then the default version will be used in the returned marshaller.
- Specified by:
newMacroMarshaller
in interface ViewMacroMarshallerFactory
- Parameters:
macroManager
- a custom macro manager to be used by the returned Marshaller
- Returns:
- a new MacroDefinition Marshaller using the supplied constituent components.
newUnknownMacroMarshaller
public Marshaller<MacroDefinition> newUnknownMacroMarshaller()
- Specified by:
newUnknownMacroMarshaller
in interface ViewMacroMarshallerFactory
- Returns:
- a new instance of a macro marshaller to be used for marshalling unknown macros.
Copyright © 2003-2012 Atlassian. All Rights Reserved.