com.atlassian.confluence.content.service
Class DefaultRenderingService
java.lang.Object
com.atlassian.confluence.content.service.DefaultRenderingService
- All Implemented Interfaces:
- RenderingService
public class DefaultRenderingService
- extends Object
- implements RenderingService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRenderingService
public DefaultRenderingService()
newRenderXHtmlContentCommand
public RenderContentCommand newRenderXHtmlContentCommand(IdContentLocator contentLocator,
SpaceLocator spaceLocator,
String contentType,
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,
String contentType,
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)
setConfluenceWysiwygConverter
public void setConfluenceWysiwygConverter(ConfluenceWysiwygConverter confluenceWysiwygConverter)
setContentEntityManager
public void setContentEntityManager(ContentEntityManager contentEntityManager)