com.atlassian.confluence.renderer
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.
RenderResult
public RenderResult(String renderedContent,
Map metadata)
containsMetadata
public boolean containsMetadata(String key)
getMetadata
public Object getMetadata(String key)
getRenderedContent
public String getRenderedContent()
toString
public String toString()
- Does the same as getRenderedContent, so you can shortcut the use of the
renderer in things like writers or string concatenation.
- Overrides:
toString
in class Object
- Returns:
- the rendered content from the result.
Copyright © 2003-2013 Atlassian. All Rights Reserved.