Interface RenderingService
- All Known Implementing Classes:
DefaultRenderingService
public interface RenderingService
-
Method Summary
Modifier and TypeMethodDescriptiongetContentLocator(long contentId) Creates and returns aIdContentLocatorthat can locate aConfluenceEntityObjectby an id.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.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.
-
Method Details
-
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
Creates and returns aIdContentLocatorthat can locate aConfluenceEntityObjectby an id.
-