Interface RenderingService
-
- All Known Implementing Classes:
DefaultRenderingService
public interface RenderingService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IdContentLocator
getContentLocator(long contentId)
Creates and returns aIdContentLocator
that can locate aConfluenceEntityObject
by an id.RenderContentCommand
newRenderWikiMarkupContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, String contentType, String content, ConversionContextOutputType conversionContextOutputType)
Creates and returns aRenderContentCommand
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, ConversionContextOutputType conversionContextOutputType)
Creates and returns aRenderContentCommand
that will render given xhtml content in the context of the entity and space provided by the locators.
-
-
-
Method Detail
-
newRenderXHtmlContentCommand
RenderContentCommand newRenderXHtmlContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, String contentType, String content, ConversionContextOutputType conversionContextOutputType)
Creates and returns aRenderContentCommand
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
RenderContentCommand newRenderWikiMarkupContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, String contentType, String content, ConversionContextOutputType conversionContextOutputType)
Creates and returns aRenderContentCommand
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 aIdContentLocator
that can locate aConfluenceEntityObject
by an id.
-
-