public interface RenderingService
Modifier and Type | Method and Description |
---|---|
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,
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,
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. |
RenderContentCommand newRenderXHtmlContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, String contentType, String content, ConversionContextOutputType conversionContextOutputType)
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.RenderContentCommand newRenderWikiMarkupContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, String contentType, String content, ConversionContextOutputType conversionContextOutputType)
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.IdContentLocator getContentLocator(long contentId)
IdContentLocator
that can locate a ConfluenceEntityObject
by an id.Copyright © 2003–2020 Atlassian. All rights reserved.