Class AbstractRendererExporterImpl
- java.lang.Object
-
- com.atlassian.confluence.importexport.Exporter
-
- com.atlassian.confluence.importexport.impl.AbstractExporterImpl
-
- com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl
-
- Direct Known Subclasses:
HtmlExporter
@Deprecated public abstract class AbstractRendererExporterImpl extends AbstractExporterImpl
Deprecated.since 7.14
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractRendererExporterImpl.ContentConverter
Deprecated.
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.importexport.impl.AbstractExporterImpl
i18nBeanFactory
-
-
Constructor Summary
Constructors Constructor Description AbstractRendererExporterImpl()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected TemplateSupport
createTemplateSupport(String templateExtension)
Deprecated.String
doExport(com.atlassian.core.util.ProgressMeter progress)
Deprecated.Exports the content specified by the configuredExportContext
.protected abstract void
doExportEntity(ConfluenceEntityObject entity, String exportPath)
Deprecated.protected void
ensurePathExists(String path)
Deprecated.protected void
exportImages(String html, Writer writer, String exportDir)
Deprecated.protected void
exportPage(Page page, String baseExportPath)
Deprecated.protected void
exportResource(String resourceUrl, String exportDir, String exportPath)
Deprecated.protected void
exportSpace(Space space, String baseExportPath)
Deprecated.protected abstract ExportLinkFormatter
getExportLinkFormatter()
Deprecated.Returns theExportLinkFormatter
for the exporter.protected abstract String
getFullExportPath(String baseExportPath, ConfluenceEntityObject entity)
Deprecated.protected abstract ImageProcessingRule
getImageProcessingRule(String exportDir)
Deprecated.Returns a newImageProcessingRule
for each export.protected TransformerFactory
getTransformerFactory()
Deprecated.protected DefaultExportContext
getWorkingExportContext()
Deprecated.void
setDownloadResourceManager(DownloadResourceManager downloadResourceManager)
Deprecated.void
setFormatSettingsManager(FormatSettingsManager formatSettingsManager)
Deprecated.void
setLocaleManager(LocaleManager localeManager)
Deprecated.void
setSettingsManager(SettingsManager settingsManager)
Deprecated.void
setThemeManager(ThemeManager themeManager)
Deprecated.void
setTransformerFactory(TransformerFactory xsltTransformer)
Deprecated.void
setUserAccessor(UserAccessor userAccessor)
Deprecated.void
setXhtmlRenderer(Renderer xhtmlRenderer)
Deprecated.-
Methods inherited from class com.atlassian.confluence.importexport.impl.AbstractExporterImpl
checkHaveSomethingToExport, createAndSetExportDirectory, createExportDirectory, ensureDirectoryCreated, getSpaceKeyForExportFileName, prepareExportFileName, setExportFileNameGenerator, setI18NBeanFactory
-
Methods inherited from class com.atlassian.confluence.importexport.Exporter
getContext, setContext
-
-
-
-
Method Detail
-
getFullExportPath
protected abstract String getFullExportPath(String baseExportPath, ConfluenceEntityObject entity) throws ImportExportException
Deprecated.- Throws:
ImportExportException
-
doExportEntity
protected abstract void doExportEntity(ConfluenceEntityObject entity, String exportPath) throws ImportExportException
Deprecated.- Throws:
ImportExportException
-
getWorkingExportContext
protected DefaultExportContext getWorkingExportContext()
Deprecated.- Overrides:
getWorkingExportContext
in classAbstractExporterImpl
-
doExport
public String doExport(com.atlassian.core.util.ProgressMeter progress) throws ImportExportException
Deprecated.Description copied from class:Exporter
Exports the content specified by the configuredExportContext
.- Specified by:
doExport
in 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
protected void exportSpace(Space space, String baseExportPath) throws ImportExportException
Deprecated.- Throws:
ImportExportException
-
exportPage
protected void exportPage(Page page, String baseExportPath) throws ImportExportException
Deprecated.- Throws:
ImportExportException
-
ensurePathExists
protected void ensurePathExists(String path) throws ImportExportException
Deprecated.- Throws:
ImportExportException
-
getImageProcessingRule
protected abstract ImageProcessingRule getImageProcessingRule(String exportDir)
Deprecated.Returns a newImageProcessingRule
for each export.
-
getExportLinkFormatter
protected abstract ExportLinkFormatter getExportLinkFormatter()
Deprecated.Returns theExportLinkFormatter
for the exporter.
-
exportResource
protected void exportResource(String resourceUrl, String exportDir, String exportPath)
Deprecated.
-
createTemplateSupport
protected TemplateSupport createTemplateSupport(String templateExtension)
Deprecated.
-
setSettingsManager
public void setSettingsManager(SettingsManager settingsManager)
Deprecated.
-
setThemeManager
public void setThemeManager(ThemeManager themeManager)
Deprecated.
-
setDownloadResourceManager
public void setDownloadResourceManager(DownloadResourceManager downloadResourceManager)
Deprecated.
-
setUserAccessor
public void setUserAccessor(UserAccessor userAccessor)
Deprecated.
-
setFormatSettingsManager
public void setFormatSettingsManager(FormatSettingsManager formatSettingsManager)
Deprecated.
-
setTransformerFactory
public void setTransformerFactory(TransformerFactory xsltTransformer)
Deprecated.
-
getTransformerFactory
protected TransformerFactory getTransformerFactory()
Deprecated.
-
setLocaleManager
public void setLocaleManager(LocaleManager localeManager)
Deprecated.
-
setXhtmlRenderer
public void setXhtmlRenderer(Renderer xhtmlRenderer)
Deprecated.
-
-