com.atlassian.confluence.content.render.xhtml.migration
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
Method Summary |
String |
render(String wiki,
com.atlassian.renderer.RenderContext context)
|
boolean |
shouldRender(com.atlassian.renderer.v2.RenderMode renderMode)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MACRO_DECLARATION_POSITION
public static final String 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:
- Constant Field Values
XhtmlMacroRendererComponent
public XhtmlMacroRendererComponent(com.atlassian.renderer.v2.macro.MacroManager v2MacroManager,
MacroMigrationManager macroMigrationManager,
Marshaller<MacroDefinition> macroMarshaller,
MacroReplacementRendererRepository replacementRepository,
MacroDefinitionDeserializer macroDefinitionWikiMarkupDeserializer)
shouldRender
public boolean shouldRender(com.atlassian.renderer.v2.RenderMode renderMode)
- Specified by:
shouldRender
in interface com.atlassian.renderer.v2.components.RendererComponent
render
public String render(String wiki,
com.atlassian.renderer.RenderContext context)
- Specified by:
render
in interface com.atlassian.renderer.v2.components.RendererComponent