public abstract class AbstractRendererExporterImpl extends AbstractExporterImpl
Modifier and Type | Class and Description |
---|---|
static class |
AbstractRendererExporterImpl.ContentConverter |
i18nBeanFactory
Constructor and Description |
---|
AbstractRendererExporterImpl() |
checkHaveSomethingToExport, createAndSetExportDirectory, createExportDirectory, ensureDirectoryCreated, getSpaceKeyForExportFileName, prepareExportFileName, setExportFileNameGenerator, setI18NBeanFactory
getContext, setContext
protected abstract String getFullExportPath(String baseExportPath, ConfluenceEntityObject entity) throws ImportExportException
ImportExportException
protected abstract void doExportEntity(ConfluenceEntityObject entity, String exportPath) throws ImportExportException
ImportExportException
protected DefaultExportContext getWorkingExportContext()
getWorkingExportContext
in class AbstractExporterImpl
public String doExport(com.atlassian.core.util.ProgressMeter progress) throws ImportExportException
Exporter
ExportContext
.doExport
in class Exporter
progress
- the meter to update with progress during the export.ImportExportException
- if it fails for any reason.protected void exportSpace(Space space, String baseExportPath) throws ImportExportException
ImportExportException
protected void exportPage(Page page, String baseExportPath) throws ImportExportException
ImportExportException
protected void ensurePathExists(String path) throws ImportExportException
ImportExportException
protected abstract ImageProcessingRule getImageProcessingRule(String exportDir)
ImageProcessingRule
for each export.protected abstract ExportLinkFormatter getExportLinkFormatter()
ExportLinkFormatter
for the exporter.protected void exportResource(String resourceUrl, String exportDir, String exportPath)
protected TemplateSupport createTemplateSupport(String templateExtension)
public void setSettingsManager(SettingsManager settingsManager)
public void setThemeManager(ThemeManager themeManager)
public void setDownloadResourceManager(DownloadResourceManager downloadResourceManager)
@Deprecated public void setUserAccessor(UserAccessor userAccessor)
public void setUserPreferencesAccessor(UserPreferencesAccessor userPreferencesAccessor)
public void setFormatSettingsManager(FormatSettingsManager formatSettingsManager)
public void setTransformerFactory(TransformerFactory xsltTransformer)
protected TransformerFactory getTransformerFactory()
public void setLocaleManager(LocaleManager localeManager)
public void setXhtmlRenderer(Renderer xhtmlRenderer)
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences