public class

RenderResult

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.renderer.RenderResult

Class Overview

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.

Summary

Public Constructors
RenderResult(String renderedContent, Map metadata)
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RenderResult (String renderedContent, Map metadata)

Public Methods

public boolean containsMetadata (String key)

public Object getMetadata (String key)

public String getRenderedContent ()

public String toString ()

Does the same as getRenderedContent, so you can shortcut the use of the renderer in things like writers or string concatenation.

Returns
  • the rendered content from the result.