com.atlassian.confluence.importexport.impl
Class MemoryXmlExporter

java.lang.Object
  extended bycom.atlassian.confluence.importexport.Exporter
      extended bycom.atlassian.confluence.importexport.impl.AbstractExporterImpl
          extended bycom.atlassian.confluence.importexport.impl.AbstractXmlExporter
              extended bycom.atlassian.confluence.importexport.impl.MemoryXmlExporter

public class MemoryXmlExporter
extends AbstractXmlExporter


Field Summary
 
Fields inherited from class com.atlassian.confluence.importexport.impl.AbstractXmlExporter
ATTACHMENTS_DIRECTORY, bootstrapManager, ENTITIES_FILE_NAME, EXPORT_DESCRIPTOR_FILE_NAME, sessionFactory, spaceManager, TEMPLATES_DIRECTORY
 
Fields inherited from class com.atlassian.confluence.importexport.Exporter
context, log
 
Constructor Summary
MemoryXmlExporter()
           
 
Method Summary
 Object convertHandleToObject(Object handle)
           
 Object convertObjectToHandle(Object object)
           
 String doExport()
           
 ByteArrayOutputStream getDescriptorByteStream()
           
protected  OutputStream getDescriptorOutputStream()
           
protected  List getHandlesOfObjectsForExport()
           
protected  List getSourceAttachmentsDirForCopying()
           
protected  List getSourceTemplateDirForCopying()
           
 ByteArrayOutputStream getXmlByteStream()
           
protected  OutputStream getXmlOutputStream()
          output stream to write XML object information to
 
Methods inherited from class com.atlassian.confluence.importexport.impl.AbstractXmlExporter
addPropertiesForContent, backupEntities, backupEverything, doExport, expandSpaces, getContentAndContentPropertiesFromSpace, getExportType, getObjectsExcludedFromExport, setBootstrapManager, setPropertySetManager, setSessionFactory, setSettingsManager, setSpaceManager, writeBackupDescriptor
 
Methods inherited from class com.atlassian.confluence.importexport.impl.AbstractExporterImpl
checkHaveSomethingToExport, ensureDirectoryCreated, ensurePathExists, getSpaceKeyForExportFileName, getWorkingExportContext, prepareExportFileName
 
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

MemoryXmlExporter

public MemoryXmlExporter()
Method Detail

getXmlOutputStream

protected OutputStream getXmlOutputStream()
                                   throws ImportExportException,
                                          IOException
Description copied from class: AbstractXmlExporter
output stream to write XML object information to

Overrides:
getXmlOutputStream in class AbstractXmlExporter
Returns:
Throws:
ImportExportException
IOException

getDescriptorOutputStream

protected OutputStream getDescriptorOutputStream()
                                          throws ImportExportException,
                                                 FileNotFoundException
Overrides:
getDescriptorOutputStream in class AbstractXmlExporter
Throws:
ImportExportException
FileNotFoundException

getXmlByteStream

public ByteArrayOutputStream getXmlByteStream()

getDescriptorByteStream

public ByteArrayOutputStream getDescriptorByteStream()

getSourceAttachmentsDirForCopying

protected List getSourceAttachmentsDirForCopying()

getSourceTemplateDirForCopying

protected List getSourceTemplateDirForCopying()
Specified by:
getSourceTemplateDirForCopying in class AbstractXmlExporter

getHandlesOfObjectsForExport

protected List getHandlesOfObjectsForExport()
                                     throws ImportExportException
Specified by:
getHandlesOfObjectsForExport in class AbstractXmlExporter
Throws:
ImportExportException

convertObjectToHandle

public Object convertObjectToHandle(Object object)

convertHandleToObject

public Object convertHandleToObject(Object handle)

doExport

public String doExport()
                throws ImportExportException
Specified by:
doExport in class Exporter
Throws:
ImportExportException


Confluence is developed by Atlassian.