Class AbstractRendererExporterImpl
java.lang.Object
com.atlassian.confluence.importexport.Exporter
com.atlassian.confluence.impl.importexport.AbstractExporterImpl
com.atlassian.confluence.impl.importexport.AbstractRendererExporterImpl
- Direct Known Subclasses:
HtmlExporter
- Since:
- 7.14
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.atlassian.confluence.impl.importexport.AbstractExporterImpl
i18nBeanFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TemplateSupportcreateTemplateSupport(String templateExtension) doExport(com.atlassian.core.util.ProgressMeter progress) Exports the content specified by the configuredExportContext.protected abstract voiddoExportEntity(ConfluenceEntityObject entity, String exportPath) protected voidensurePathExists(String path) protected voidexportImages(String html, Writer writer, String exportDir) protected voidexportPage(Page page, String baseExportPath) protected voidexportResource(String resourceUrl, String exportDir, String exportPath) protected voidexportSpace(Space space, String baseExportPath) protected abstract ExportLinkFormatterReturns theExportLinkFormatterfor the exporter.protected abstract StringgetFullExportPath(String baseExportPath, ConfluenceEntityObject entity) protected abstract ImageProcessingRulegetImageProcessingRule(String exportDir) Returns a newImageProcessingRulefor each export.protected TransformerFactoryprotected DefaultExportContextvoidsetDownloadResourceManager(DownloadResourceManager downloadResourceManager) voidsetFormatSettingsManager(FormatSettingsManager formatSettingsManager) voidsetLocaleManager(LocaleManager localeManager) voidsetSettingsManager(SettingsManager settingsManager) voidsetThemeManager(ThemeManager themeManager) voidsetTransformerFactory(TransformerFactory xsltTransformer) voidsetUserPreferencesAccessor(UserPreferencesAccessor userPreferencesAccessor) voidsetXhtmlRenderer(Renderer xhtmlRenderer) Methods inherited from class com.atlassian.confluence.impl.importexport.AbstractExporterImpl
checkHaveSomethingToExport, createAndSetExportDirectory, createExportDirectory, ensureDirectoryCreated, getSpaceKeyForExportFileName, prepareExportFileName, setExportFileNameGenerator, setI18NBeanFactoryMethods inherited from class com.atlassian.confluence.importexport.Exporter
getContext, setContext
-
Constructor Details
-
AbstractRendererExporterImpl
public AbstractRendererExporterImpl()
-
-
Method Details
-
getFullExportPath
protected abstract String getFullExportPath(String baseExportPath, ConfluenceEntityObject entity) throws ImportExportException - Throws:
ImportExportException
-
doExportEntity
protected abstract void doExportEntity(ConfluenceEntityObject entity, String exportPath) throws ImportExportException - Throws:
ImportExportException
-
getWorkingExportContext
- Overrides:
getWorkingExportContextin classAbstractExporterImpl
-
doExport
Description copied from class:ExporterExports the content specified by the configuredExportContext.- Specified by:
doExportin classExporter- Parameters:
progress- the meter to update with progress during the export.- Returns:
- the path to the exported content.
- Throws:
ImportExportException- if it fails for any reason.
-
exportSpace
- Throws:
ImportExportException
-
exportPage
- Throws:
ImportExportException
-
ensurePathExists
- Throws:
ImportExportException
-
getImageProcessingRule
Returns a newImageProcessingRulefor each export. -
getExportLinkFormatter
Returns theExportLinkFormatterfor the exporter. -
exportImages
-
exportResource
-
createTemplateSupport
-
setSettingsManager
-
setThemeManager
-
setDownloadResourceManager
-
setUserPreferencesAccessor
- Since:
- 7.16
-
setFormatSettingsManager
-
setTransformerFactory
-
getTransformerFactory
-
setLocaleManager
-
setXhtmlRenderer
-