public class BodyTypeAwareRenderer extends Object implements Renderer
ContentEntityObject
that respects
its BodyType
.Constructor and Description |
---|
BodyTypeAwareRenderer(Renderer xhtmlRenderer,
com.atlassian.renderer.WikiStyleRenderer wikiRenderer) |
Modifier and Type | Method and Description |
---|---|
List<BatchedRenderResult> |
render(BatchedRenderRequest... renderRequests)
Renders an ordered collection of batched render requests, e.g.
|
String |
render(ContentEntityObject content) |
String |
render(ContentEntityObject content,
ConversionContext conversionContext)
Produces an appropriate rendering of the specified content depending on its
BodyType . |
String |
render(String xml,
ConversionContext conversionContext) |
RenderResult |
renderWithResult(String xml,
ConversionContext conversionContext) |
public BodyTypeAwareRenderer(Renderer xhtmlRenderer, com.atlassian.renderer.WikiStyleRenderer wikiRenderer)
public String render(ContentEntityObject content)
public String render(ContentEntityObject content, ConversionContext conversionContext)
BodyType
.public String render(String xml, ConversionContext conversionContext)
public RenderResult renderWithResult(String xml, ConversionContext conversionContext)
renderWithResult
in interface Renderer
public List<BatchedRenderResult> render(BatchedRenderRequest... renderRequests)
Renderer
Copyright © 2003–2020 Atlassian. All rights reserved.