|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.content.service.DefaultRenderingService
public class DefaultRenderingService
Nested Class Summary | |
---|---|
static class |
DefaultRenderingService.RenderMode
|
Constructor Summary | |
---|---|
DefaultRenderingService()
|
Method Summary | |
---|---|
IdContentLocator |
getContentLocator(long contentId)
Creates and returns a IdContentLocator that can locate a ConfluenceEntityObject
by an id. |
I18NBeanFactory |
getI18NBeanFactory()
|
LocaleManager |
getLocaleManager()
|
RenderContentCommand |
newRenderWikiMarkupContentCommand(IdContentLocator contentLocator,
SpaceLocator spaceLocator,
java.lang.String contentType,
java.lang.String content)
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 |
newRenderWikiMarkupContentCommand(IdContentLocator contentLocator,
SpaceLocator spaceLocator,
java.lang.String contentType,
java.lang.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,
java.lang.String contentType,
java.lang.String content)
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,
java.lang.String contentType,
java.lang.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. |
void |
setContentEntityManager(ContentEntityManager contentEntityManager)
|
void |
setEditConverter(EditorConverter editConverter)
Deprecated. since 5.6 this setter is only for backwards compatibility and has no effect. |
void |
setFormatConverter(FormatConverter formatConverter)
|
void |
setI18NBeanFactory(I18NBeanFactory i18nBeanFactory)
|
void |
setLocaleManager(LocaleManager localeManager)
|
void |
setPermissionManager(PermissionManager permissionManager)
|
void |
setStorageFormatCleaner(StorageFormatCleaner storageFormatCleaner)
Deprecated. since 5.6 this setter is only for backwards compatibility and has no effect. |
void |
setStorageToViewTransformer(Transformer storageToViewTransformer)
Deprecated. since 5.6 this setter is only for backwards compatibility and has no effect. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultRenderingService()
Method Detail |
---|
public RenderContentCommand newRenderXHtmlContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, java.lang.String contentType, java.lang.String content)
RenderingService
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
in interface RenderingService
public RenderContentCommand newRenderXHtmlContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, java.lang.String contentType, java.lang.String content, ConversionContextOutputType conversionContextOutputType)
RenderingService
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
in interface RenderingService
public RenderContentCommand newRenderWikiMarkupContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, java.lang.String contentType, java.lang.String content)
RenderingService
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
in interface RenderingService
public RenderContentCommand newRenderWikiMarkupContentCommand(IdContentLocator contentLocator, SpaceLocator spaceLocator, java.lang.String contentType, java.lang.String content, ConversionContextOutputType conversionContextOutputType)
RenderingService
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
in interface RenderingService
public IdContentLocator getContentLocator(long contentId)
RenderingService
IdContentLocator
that can locate a ConfluenceEntityObject
by an id.
getContentLocator
in interface RenderingService
@Deprecated public void setStorageToViewTransformer(Transformer storageToViewTransformer)
@Deprecated public void setEditConverter(EditorConverter editConverter)
@Deprecated public void setStorageFormatCleaner(StorageFormatCleaner storageFormatCleaner)
public void setPermissionManager(PermissionManager permissionManager)
public void setContentEntityManager(ContentEntityManager contentEntityManager)
public I18NBeanFactory getI18NBeanFactory()
public void setI18NBeanFactory(I18NBeanFactory i18nBeanFactory)
public LocaleManager getLocaleManager()
public void setLocaleManager(LocaleManager localeManager)
public void setFormatConverter(FormatConverter formatConverter)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |