| Constructor and Description |
|---|
PluggableV2Renderer(com.atlassian.plugin.PluginAccessor pluginAccessor)
Construct a new pluggable V2Renderer
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRendererType()
This renderer identifies as a V2Renderer.
|
String |
render(String originalContent,
RenderContext renderContext)
Render some content without changing render modes.
|
String |
renderAsText(String originalContent,
RenderContext context)
Render some content as text, performing any transforms that may be needed to produce
nicely formatted text.
|
public PluggableV2Renderer(com.atlassian.plugin.PluginAccessor pluginAccessor)
pluginAccessor - the plugin accessorpublic String render(String originalContent, RenderContext renderContext)
Rendererrender in interface RendereroriginalContent - the content to renderrenderContext - the context in which it is being renderedRenderer.render(java.lang.String, com.atlassian.renderer.RenderContext)public String renderAsText(String originalContent, RenderContext context)
RendererrenderAsText in interface RendereroriginalContent - is the content to render.Renderer.renderAsText(java.lang.String, com.atlassian.renderer.RenderContext)public String getRendererType()
getRendererType in interface RendererCopyright © 2019 Atlassian. All rights reserved.