public class ErrorReportingV2Renderer extends Object implements com.atlassian.renderer.v2.MutableRenderer
Constructor and Description |
---|
ErrorReportingV2Renderer(List<com.atlassian.renderer.v2.components.RendererComponent> components,
Marshaller<MacroDefinition> wikiMarkupMacroMarshaller) |
Modifier and Type | Method and Description |
---|---|
String |
getRendererType() |
String |
render(String originalContent,
com.atlassian.renderer.RenderContext renderContext) |
String |
render(String originalContent,
com.atlassian.renderer.RenderContext renderContext,
List<RuntimeException> exceptions)
Render the supplied wiki content.
|
String |
renderAsText(String originalContent,
com.atlassian.renderer.RenderContext context) |
void |
setComponents(List components) |
public ErrorReportingV2Renderer(List<com.atlassian.renderer.v2.components.RendererComponent> components, Marshaller<MacroDefinition> wikiMarkupMacroMarshaller)
public String render(String originalContent, com.atlassian.renderer.RenderContext renderContext, List<RuntimeException> exceptions)
originalContent
- the content to renderrenderContext
- the context for the renderexceptions
- a List that will be populated with any exceptions thrown during renderingpublic String render(String originalContent, com.atlassian.renderer.RenderContext renderContext)
render
in interface com.atlassian.renderer.v2.Renderer
public String getRendererType()
getRendererType
in interface com.atlassian.renderer.v2.Renderer
public void setComponents(List components)
setComponents
in interface com.atlassian.renderer.v2.MutableRenderer
Copyright © 2003–2017 Atlassian. All rights reserved.