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


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl
AbstractRendererExporterImpl.ContentConverter
 
Field Summary
 
Fields inherited from class com.atlassian.confluence.importexport.impl.AbstractExporterImpl
i18nBeanFactory
 
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)
          Exports the content specified by the configured ExportContext.
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)
           
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, setLocaleManager, setSettingsManager, setThemeManager, setTransformerFactory, setUserAccessor, setXhtmlRenderer
 
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
 
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
Description copied from class: Exporter
Exports the content specified by the configured ExportContext.

Overrides:
doExport in class AbstractRendererExporterImpl
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.

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
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-2014 Atlassian. All Rights Reserved.