com.atlassian.confluence.importexport.impl
Class HtmlExporter

java.lang.Object
  extended by com.atlassian.confluence.importexport.Exporter
      extended by com.atlassian.confluence.importexport.impl.AbstractExporterImpl
          extended by com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl
              extended by com.atlassian.confluence.importexport.impl.HtmlExporter

public class HtmlExporter
extends AbstractRendererExporterImpl


Field Summary
 
Fields inherited from class com.atlassian.confluence.importexport.Exporter
context
 
Constructor Summary
HtmlExporter()
           
 
Method Summary
 java.lang.String doExport(com.atlassian.core.util.ProgressMeter progress)
           
protected  void doExportEntity(ConfluenceEntityObject entity, java.lang.String exportPath)
           
protected  void exportPage(Page page, java.lang.String baseExportPath)
          Export page exports either a single page or, if context.exportChildren is set, the whole page hierarchy.
protected  void exportSpace(Space space, java.lang.String baseExportPath)
           
protected  ExportLinkFormatter getExportLinkFormatter()
          Returns the ExportLinkFormatter for the exporter.
protected  java.lang.String getFullExportPath(java.lang.String baseExportPath, ConfluenceEntityObject entity)
          This implementation should be extracted to a specific ExportFileNameGenerator implementation.
protected  ImageProcessingRule getImageProcessingRule(java.lang.String exportDir)
          Returns a new ImageProcessingRule for each export.
 
Methods inherited from class com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl
createTemplateSupport, ensurePathExists, exportImages, exportResource, getTransformerFactory, getWorkingExportContext, setDownloadResourceManager, setFormatSettingsManager, setIconManager, setLocaleManager, setSettingsManager, setSubRenderer, setThemeManager, setTransformerFactory, setUserAccessor, setWikiStyleRenderer
 
Methods inherited from class com.atlassian.confluence.importexport.impl.AbstractExporterImpl
checkHaveSomethingToExport, doExport, ensureDirectoryCreated, getExportDirectory, getSpaceKeyForExportFileName, prepareExportFileName, setExportFileNameGenerator
 
Methods inherited from class com.atlassian.confluence.importexport.Exporter
getContext, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlExporter

public HtmlExporter()
Method Detail

doExport

public java.lang.String doExport(com.atlassian.core.util.ProgressMeter progress)
                          throws ImportExportException
Overrides:
doExport in class AbstractRendererExporterImpl
Throws:
ImportExportException

exportPage

protected void exportPage(Page page,
                          java.lang.String baseExportPath)
                   throws ImportExportException
Export page exports either a single page or, if context.exportChildren is set, the whole page hierarchy.

Overrides:
exportPage in class AbstractRendererExporterImpl
Throws:
ImportExportException

exportSpace

protected void exportSpace(Space space,
                           java.lang.String baseExportPath)
                    throws ImportExportException
Overrides:
exportSpace in class AbstractRendererExporterImpl
Throws:
ImportExportException

getImageProcessingRule

protected ImageProcessingRule getImageProcessingRule(java.lang.String exportDir)
Description copied from class: AbstractRendererExporterImpl
Returns a new ImageProcessingRule for each export.

Specified by:
getImageProcessingRule in class AbstractRendererExporterImpl

getExportLinkFormatter

protected ExportLinkFormatter getExportLinkFormatter()
Description copied from class: AbstractRendererExporterImpl
Returns the ExportLinkFormatter for the exporter.

Specified by:
getExportLinkFormatter in class AbstractRendererExporterImpl

getFullExportPath

protected java.lang.String getFullExportPath(java.lang.String baseExportPath,
                                             ConfluenceEntityObject entity)
                                      throws ImportExportException
This implementation should be extracted to a specific ExportFileNameGenerator implementation. However this code is up for refactoring (probably making a plugin) soon so leave it for the moment.

Specified by:
getFullExportPath in class AbstractRendererExporterImpl
Throws:
ImportExportException

doExportEntity

protected void doExportEntity(ConfluenceEntityObject entity,
                              java.lang.String exportPath)
                       throws ImportExportException
Specified by:
doExportEntity in class AbstractRendererExporterImpl
Throws:
ImportExportException


Copyright © 2003-2010 Atlassian. All Rights Reserved.