Class XhtmlTemplateVariableRendererComponent
- java.lang.Object
-
- com.atlassian.renderer.v2.components.AbstractRendererComponent
-
- com.atlassian.renderer.v2.components.AbstractRegexRendererComponent
-
- com.atlassian.confluence.content.render.xhtml.migration.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 Summary
Constructors Constructor Description XhtmlTemplateVariableRendererComponent(XMLOutputFactory xmlOutputFactory, XMLEventFactory xmlEventFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendSubstitution(StringBuffer buffer, com.atlassian.renderer.RenderContext context, Matcher matcher)
String
render(String wiki, com.atlassian.renderer.RenderContext renderContext)
boolean
shouldRender(com.atlassian.renderer.v2.RenderMode renderMode)
-
-
-
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 interfacecom.atlassian.renderer.v2.components.RendererComponent
- Specified by:
shouldRender
in classcom.atlassian.renderer.v2.components.AbstractRegexRendererComponent
-
render
public String render(String wiki, com.atlassian.renderer.RenderContext renderContext)
- Specified by:
render
in interfacecom.atlassian.renderer.v2.components.RendererComponent
- Specified by:
render
in classcom.atlassian.renderer.v2.components.AbstractRegexRendererComponent
-
appendSubstitution
public void appendSubstitution(StringBuffer buffer, com.atlassian.renderer.RenderContext context, Matcher matcher)
- Specified by:
appendSubstitution
in classcom.atlassian.renderer.v2.components.AbstractRegexRendererComponent
-
-