com.atlassian.confluence.content.render.xhtml.migration
Class XhtmlTemplateVariableRendererComponent

java.lang.Object
  extended by com.atlassian.renderer.v2.components.AbstractRendererComponent
      extended by com.atlassian.renderer.v2.components.AbstractRegexRendererComponent
          extended by 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
XhtmlTemplateVariableRendererComponent(XMLOutputFactory xmlOutputFactory, XMLEventFactory xmlEventFactory)
           
 
Method Summary
 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)
           
 
Methods inherited from class com.atlassian.renderer.v2.components.AbstractRegexRendererComponent
regexRender
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2003-2013 Atlassian. All Rights Reserved.