public interface

RenderingService

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

Summary

Public Methods
abstract IdContentLocator getContentLocator(long contentId)
Creates and returns a IdContentLocator that can locate a ConfluenceEntityObject by an id.
abstract 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.
abstract 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 abstract IdContentLocator getContentLocator (long contentId)

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

public abstract 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 abstract 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.