public class XhtmlMacroRendererComponent extends Object implements com.atlassian.renderer.v2.components.RendererComponent
Modifier and Type | Field and Description |
---|---|
static String |
MACRO_DECLARATION_POSITION
Defines where the position in which the macro is declared in wiki markup.
|
Constructor and Description |
---|
XhtmlMacroRendererComponent(com.atlassian.renderer.v2.macro.MacroManager v2MacroManager,
MacroMigrationManager macroMigrationManager,
Marshaller<MacroDefinition> macroMarshaller,
MacroReplacementRendererRepository replacementRepository,
MacroDefinitionDeserializer macroDefinitionWikiMarkupDeserializer) |
Modifier and Type | Method and Description |
---|---|
String |
render(String wiki,
com.atlassian.renderer.RenderContext context) |
boolean |
shouldRender(com.atlassian.renderer.v2.RenderMode renderMode) |
public static final String MACRO_DECLARATION_POSITION
If you have "foo {cheese} bar", the macro is declared "inline".
If you have "foo/n{cheese}", the macro is not declared "inline".
public XhtmlMacroRendererComponent(com.atlassian.renderer.v2.macro.MacroManager v2MacroManager, MacroMigrationManager macroMigrationManager, Marshaller<MacroDefinition> macroMarshaller, MacroReplacementRendererRepository replacementRepository, MacroDefinitionDeserializer macroDefinitionWikiMarkupDeserializer)
Copyright © 2003–2015 Atlassian. All rights reserved.