Class XhtmlMacroRendererComponent
java.lang.Object
com.atlassian.confluence.content.render.xhtml.migration.XhtmlMacroRendererComponent
- All Implemented Interfaces:
com.atlassian.renderer.v2.components.RendererComponent
public class XhtmlMacroRendererComponent
extends Object
implements com.atlassian.renderer.v2.components.RendererComponent
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Defines where the position in which the macro is declared in wiki markup. -
Constructor Summary
ConstructorDescriptionXhtmlMacroRendererComponent
(com.atlassian.renderer.v2.macro.MacroManager v2MacroManager, MacroMigrationManager macroMigrationManager, Marshaller<MacroDefinition> macroMarshaller, MacroReplacementRendererRepository replacementRepository, MacroDefinitionDeserializer macroDefinitionWikiMarkupDeserializer) -
Method Summary
Modifier and TypeMethodDescriptionboolean
shouldRender
(com.atlassian.renderer.v2.RenderMode renderMode)
-
Field Details
-
MACRO_DECLARATION_POSITION
Defines where the position in which the macro is declared in wiki markup.If you have "foo {cheese} bar", the macro is declared "inline".
If you have "foo/n{cheese}", the macro is not declared "inline".
- See Also:
-
-
Constructor Details
-
XhtmlMacroRendererComponent
public XhtmlMacroRendererComponent(com.atlassian.renderer.v2.macro.MacroManager v2MacroManager, MacroMigrationManager macroMigrationManager, Marshaller<MacroDefinition> macroMarshaller, MacroReplacementRendererRepository replacementRepository, MacroDefinitionDeserializer macroDefinitionWikiMarkupDeserializer)
-
-
Method Details
-
shouldRender
public boolean shouldRender(com.atlassian.renderer.v2.RenderMode renderMode) - Specified by:
shouldRender
in interfacecom.atlassian.renderer.v2.components.RendererComponent
-
render
- Specified by:
render
in interfacecom.atlassian.renderer.v2.components.RendererComponent
-