Class XhtmlMacroRendererComponent

  • All Implemented Interfaces:
    com.atlassian.renderer.v2.components.RendererComponent

    public class XhtmlMacroRendererComponent
    extends Object
    implements com.atlassian.renderer.v2.components.RendererComponent
    • Field Detail

      • 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
    • Method Detail

      • 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