public interface

RenderingService

com.atlassian.confluence.content.service.RenderingService
Known Indirect Subclasses

Summary

Public Methods
IdContentLocator getContentLocator(long contentId)
Creates and returns a IdContentLocator that can locate a ConfluenceEntityObject by an id.
RenderContentCommand newRenderWikiMarkupContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, String contentType, String content)
Creates and returns a RenderContentCommand that will render given wiki markup content in the context of the entity and space provided by the locators.
RenderContentCommand newRenderXHtmlContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, String contentType, String content)
Creates and returns a RenderContentCommand that will render given xhtml content in the context of the entity and space provided by the locators.

Public Methods

public IdContentLocator getContentLocator (long contentId)

Creates and returns a IdContentLocator that can locate a ConfluenceEntityObject by an id.

public RenderContentCommand newRenderWikiMarkupContentCommand (IdContentLocator contentLocator, SpaceLocator spaceLocator, String contentType, String content)

Creates and returns a RenderContentCommand that will render given wiki markup content in the context of the entity and space provided by the locators. This is particularly useful when rendering the markup editor's content for preview mode.

public RenderContentCommand newRenderXHtmlContentCommand (IdContentLocator contentLocator, SpaceLocator spaceLocator, String contentType, String content)

Creates and returns a RenderContentCommand that will render given xhtml content in the context of the entity and space provided by the locators. This is particularly useful when rendering the wysiwyg editor's content for preview mode.