com.atlassian.confluence.content.service
Interface RenderingService

All Known Implementing Classes:
DefaultRenderingService

public interface RenderingService


Method Summary
 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)
          Deprecated. since 5.6, use newRenderWikiMarkupContentCommand(IdContentLocator, com.atlassian.confluence.content.service.space.SpaceLocator, String, String, com.atlassian.confluence.content.render.xhtml.ConversionContextOutputType)
 RenderContentCommand newRenderWikiMarkupContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, String contentType, String content, ConversionContextOutputType conversionContextOutputType)
          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)
          Deprecated. since 5.6, use newRenderXHtmlContentCommand(IdContentLocator, com.atlassian.confluence.content.service.space.SpaceLocator, String, String, com.atlassian.confluence.content.render.xhtml.ConversionContextOutputType)
 RenderContentCommand newRenderXHtmlContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, String contentType, String content, ConversionContextOutputType conversionContextOutputType)
          Creates and returns a RenderContentCommand that will render given xhtml content in the context of the entity and space provided by the locators.
 

Method Detail

newRenderXHtmlContentCommand

@Deprecated
RenderContentCommand newRenderXHtmlContentCommand(IdContentLocator contentLocator,
                                                             SpaceLocator spaceLocator,
                                                             String contentType,
                                                             String content)
Deprecated. since 5.6, use newRenderXHtmlContentCommand(IdContentLocator, com.atlassian.confluence.content.service.space.SpaceLocator, String, String, com.atlassian.confluence.content.render.xhtml.ConversionContextOutputType)

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.


newRenderXHtmlContentCommand

RenderContentCommand newRenderXHtmlContentCommand(IdContentLocator contentLocator,
                                                  SpaceLocator spaceLocator,
                                                  String contentType,
                                                  String content,
                                                  ConversionContextOutputType conversionContextOutputType)
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.


newRenderWikiMarkupContentCommand

@Deprecated
RenderContentCommand newRenderWikiMarkupContentCommand(IdContentLocator contentLocator,
                                                                  SpaceLocator spaceLocator,
                                                                  String contentType,
                                                                  String content)
Deprecated. since 5.6, use newRenderWikiMarkupContentCommand(IdContentLocator, com.atlassian.confluence.content.service.space.SpaceLocator, String, String, com.atlassian.confluence.content.render.xhtml.ConversionContextOutputType)

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.


newRenderWikiMarkupContentCommand

RenderContentCommand newRenderWikiMarkupContentCommand(IdContentLocator contentLocator,
                                                       SpaceLocator spaceLocator,
                                                       String contentType,
                                                       String content,
                                                       ConversionContextOutputType conversionContextOutputType)
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.


getContentLocator

IdContentLocator getContentLocator(long contentId)
Creates and returns a IdContentLocator that can locate a ConfluenceEntityObject by an id.



Copyright © 2003–2015 Atlassian. All rights reserved.