com.atlassian.confluence.content.render.xhtml.view.macro
Class ViewMacroMarshaller
java.lang.Object
com.atlassian.confluence.content.render.xhtml.view.macro.ViewMacroMarshaller
- All Implemented Interfaces:
- Marshaller<MacroDefinition>
public class ViewMacroMarshaller
- extends Object
- implements Marshaller<MacroDefinition>
Constructor Summary |
ViewMacroMarshaller(MacroManager macroManager,
Marshaller<MacroDefinition> unknownMacroMarshaller,
ViewMacroErrorPlaceholder viewMacroErrorPlaceholder,
LegacyV2RendererContextInitialiser legacyV2RendererConfigurationPropertySetter,
com.atlassian.event.api.EventPublisher eventPublisher,
ConfluenceMonitoring monitoring)
Deprecated. Since 5.6. Use ViewMacroMarshaller(com.atlassian.confluence.macro.xhtml.MacroManager, com.atlassian.confluence.content.render.xhtml.Marshaller, ViewMacroErrorPlaceholder, com.atlassian.confluence.content.render.xhtml.compatibility.LegacyV2RendererContextInitialiser, com.atlassian.event.api.EventPublisher, com.atlassian.confluence.util.profiling.ConfluenceMonitoring, MacroAsyncRenderWhitelist) |
ViewMacroMarshaller(MacroManager macroManager,
Marshaller<MacroDefinition> unknownMacroMarshaller,
ViewMacroErrorPlaceholder viewMacroErrorPlaceholder,
LegacyV2RendererContextInitialiser legacyV2RendererConfigurationPropertySetter,
com.atlassian.event.api.EventPublisher eventPublisher,
ConfluenceMonitoring monitoring,
MacroAsyncRenderWhitelist macroAsyncRenderWhitelist)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewMacroMarshaller
@Deprecated
public ViewMacroMarshaller(MacroManager macroManager,
Marshaller<MacroDefinition> unknownMacroMarshaller,
ViewMacroErrorPlaceholder viewMacroErrorPlaceholder,
LegacyV2RendererContextInitialiser legacyV2RendererConfigurationPropertySetter,
com.atlassian.event.api.EventPublisher eventPublisher,
ConfluenceMonitoring monitoring)
- Deprecated. Since 5.6. Use
ViewMacroMarshaller(com.atlassian.confluence.macro.xhtml.MacroManager, com.atlassian.confluence.content.render.xhtml.Marshaller, ViewMacroErrorPlaceholder, com.atlassian.confluence.content.render.xhtml.compatibility.LegacyV2RendererContextInitialiser, com.atlassian.event.api.EventPublisher, com.atlassian.confluence.util.profiling.ConfluenceMonitoring, MacroAsyncRenderWhitelist)
ViewMacroMarshaller
public ViewMacroMarshaller(MacroManager macroManager,
Marshaller<MacroDefinition> unknownMacroMarshaller,
ViewMacroErrorPlaceholder viewMacroErrorPlaceholder,
LegacyV2RendererContextInitialiser legacyV2RendererConfigurationPropertySetter,
com.atlassian.event.api.EventPublisher eventPublisher,
ConfluenceMonitoring monitoring,
MacroAsyncRenderWhitelist macroAsyncRenderWhitelist)
marshal
public Streamable marshal(MacroDefinition macroDefinition,
ConversionContext conversionContext)
throws XhtmlException
- Description copied from interface:
Marshaller
- Marshals an object to XML.
- Specified by:
marshal
in interface Marshaller<MacroDefinition>
- Parameters:
macroDefinition
- object to marshalconversionContext
- the conversion context
- Returns:
- the XML representation of the object
- Throws:
XhtmlException
- if an error occurs during marshalling
Copyright © 2003–2015 Atlassian. All rights reserved.