Class RenderResult
- java.lang.Object
-
- com.atlassian.confluence.renderer.RenderResult
-
public class RenderResult extends Object
The result of a wiki rendering: the main payload is, of course, the rendered content, but we may during the course of the render want to collect more information like page structure, or excerpts or so on, so this gives us a simple metadata facility.
-
-
Constructor Summary
Constructors Constructor Description RenderResult(String renderedContent, Map metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsMetadata(String key)
Object
getMetadata(String key)
String
getRenderedContent()
String
toString()
Does the same as getRenderedContent, so you can shortcut the use of the renderer in things like writers or string concatenation.
-