public class

DefaultRenderingService

extends Object
implements RenderingService
java.lang.Object
   ↳ com.atlassian.confluence.content.service.DefaultRenderingService

Summary

Nested Classes
enum DefaultRenderingService.RenderMode  
Public Constructors
DefaultRenderingService()
Public Methods
IdContentLocator getContentLocator(long contentId)
Creates and returns a IdContentLocator that can locate a ConfluenceEntityObject by an id.
I18NBeanFactory getI18NBeanFactory()
LocaleManager getLocaleManager()
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.
void setContentEntityManager(ContentEntityManager contentEntityManager)
void setEditConverter(EditorConverter editConverter)
void setI18NBeanFactory(I18NBeanFactory i18nBeanFactory)
void setLocaleManager(LocaleManager localeManager)
void setPermissionManager(PermissionManager permissionManager)
void setStorageFormatCleaner(XhtmlCleaner xhtmlCleaner)
void setStorageToViewTransformer(Transformer storageToViewTransformer)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.content.service.RenderingService

Public Constructors

public DefaultRenderingService ()

Public Methods

public IdContentLocator getContentLocator (long contentId)

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

public I18NBeanFactory getI18NBeanFactory ()

public LocaleManager getLocaleManager ()

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.

public void setContentEntityManager (ContentEntityManager contentEntityManager)

public void setEditConverter (EditorConverter editConverter)

public void setI18NBeanFactory (I18NBeanFactory i18nBeanFactory)

public void setLocaleManager (LocaleManager localeManager)

public void setPermissionManager (PermissionManager permissionManager)

public void setStorageFormatCleaner (XhtmlCleaner xhtmlCleaner)

public void setStorageToViewTransformer (Transformer storageToViewTransformer)