Class XhtmlTemplateVariableRendererComponent

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

    public class XhtmlTemplateVariableRendererComponent
    extends com.atlassian.renderer.v2.components.AbstractRegexRendererComponent
    Renders wiki markup template variables as XHTML template variables.
    • Constructor Detail

      • XhtmlTemplateVariableRendererComponent

        public XhtmlTemplateVariableRendererComponent​(XMLOutputFactory xmlOutputFactory,
                                                      XMLEventFactory xmlEventFactory)
    • Method Detail

      • shouldRender

        public boolean shouldRender​(com.atlassian.renderer.v2.RenderMode renderMode)
        Specified by:
        shouldRender in interface com.atlassian.renderer.v2.components.RendererComponent
        Specified by:
        shouldRender in class com.atlassian.renderer.v2.components.AbstractRegexRendererComponent
      • render

        public String render​(String wiki,
                             com.atlassian.renderer.RenderContext renderContext)
        Specified by:
        render in interface com.atlassian.renderer.v2.components.RendererComponent
        Specified by:
        render in class com.atlassian.renderer.v2.components.AbstractRegexRendererComponent
      • appendSubstitution

        public void appendSubstitution​(StringBuffer buffer,
                                       com.atlassian.renderer.RenderContext context,
                                       Matcher matcher)
        Specified by:
        appendSubstitution in class com.atlassian.renderer.v2.components.AbstractRegexRendererComponent