com.atlassian.confluence.content.service
Class DefaultRenderingService

java.lang.Object
  extended by com.atlassian.confluence.content.service.DefaultRenderingService
All Implemented Interfaces:
RenderingService

public class DefaultRenderingService
extends java.lang.Object
implements RenderingService


Nested Class Summary
static class DefaultRenderingService.RenderMode
           
 
Constructor Summary
DefaultRenderingService()
           
 
Method Summary
 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, java.lang.String contentType, java.lang.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, java.lang.String contentType, java.lang.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 setFormatConverter(FormatConverter formatConverter)
           
 void setI18NBeanFactory(I18NBeanFactory i18nBeanFactory)
           
 void setLocaleManager(LocaleManager localeManager)
           
 void setPermissionManager(PermissionManager permissionManager)
           
 void setStorageFormatCleaner(StorageFormatCleaner storageFormatCleaner)
           
 void setStorageToViewTransformer(Transformer storageToViewTransformer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRenderingService

public DefaultRenderingService()
Method Detail

newRenderXHtmlContentCommand

public RenderContentCommand newRenderXHtmlContentCommand(IdContentLocator contentLocator,
                                                         SpaceLocator spaceLocator,
                                                         java.lang.String contentType,
                                                         java.lang.String content)
Description copied from interface: RenderingService
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.

Specified by:
newRenderXHtmlContentCommand in interface RenderingService

newRenderWikiMarkupContentCommand

public RenderContentCommand newRenderWikiMarkupContentCommand(IdContentLocator contentLocator,
                                                              SpaceLocator spaceLocator,
                                                              java.lang.String contentType,
                                                              java.lang.String content)
Description copied from interface: RenderingService
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.

Specified by:
newRenderWikiMarkupContentCommand in interface RenderingService

getContentLocator

public IdContentLocator getContentLocator(long contentId)
Description copied from interface: RenderingService
Creates and returns a IdContentLocator that can locate a ConfluenceEntityObject by an id.

Specified by:
getContentLocator in interface RenderingService

setPermissionManager

public void setPermissionManager(PermissionManager permissionManager)

setContentEntityManager

public void setContentEntityManager(ContentEntityManager contentEntityManager)

setStorageToViewTransformer

public void setStorageToViewTransformer(Transformer storageToViewTransformer)

setEditConverter

public void setEditConverter(EditorConverter editConverter)

setStorageFormatCleaner

public void setStorageFormatCleaner(StorageFormatCleaner storageFormatCleaner)

getI18NBeanFactory

public I18NBeanFactory getI18NBeanFactory()

setI18NBeanFactory

public void setI18NBeanFactory(I18NBeanFactory i18nBeanFactory)

getLocaleManager

public LocaleManager getLocaleManager()

setLocaleManager

public void setLocaleManager(LocaleManager localeManager)

setFormatConverter

public void setFormatConverter(FormatConverter formatConverter)


Copyright © 2003-2014 Atlassian. All Rights Reserved.