Interface RenderingService
-
- All Known Implementing Classes:
DefaultRenderingService
public interface RenderingService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IdContentLocatorgetContentLocator(long contentId)Creates and returns aIdContentLocatorthat can locate aConfluenceEntityObjectby an id.RenderContentCommandnewRenderWikiMarkupContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, String contentType, String content, ConversionContextOutputType conversionContextOutputType)Creates and returns aRenderContentCommandthat will render given wiki markup content in the context of the entity and space provided by the locators.RenderContentCommandnewRenderXHtmlContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, String contentType, String content, ConversionContextOutputType conversionContextOutputType)Creates and returns aRenderContentCommandthat 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 aRenderContentCommandthat 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 aRenderContentCommandthat 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 aIdContentLocatorthat can locate aConfluenceEntityObjectby an id.
-
-