net.datacrow.core.migration.itemexport
Class XmlExporter

java.lang.Object
  extended by net.datacrow.core.migration.ItemMigrater
      extended by net.datacrow.core.migration.itemexport.ItemExporter
          extended by net.datacrow.core.migration.itemexport.XmlExporter

public class XmlExporter
extends ItemExporter

Creates a XML extract for a collection of items. The Resulting XML can be used in reports and or can be used to migrate information from one system to another.

Author:
Robert Jan van der Waals

Field Summary
 
Fields inherited from class net.datacrow.core.migration.itemexport.ItemExporter
bos, client, fields, items, settings, success
 
Fields inherited from class net.datacrow.core.migration.ItemMigrater
_MODE_NON_THREADED, _MODE_THREADED, file, key, mode, moduleIdx, task
 
Constructor Summary
XmlExporter(int moduleIdx, int mode)
           
 
Method Summary
 java.lang.String getFileType()
          The file type.
 java.lang.String getName()
           
 DcThread getTask()
           
 
Methods inherited from class net.datacrow.core.migration.itemexport.ItemExporter
getFields, initialize, isSuccessfull, setClient, setFields, setItems, setSettings, start
 
Methods inherited from class net.datacrow.core.migration.ItemMigrater
cancel, getFile, getIcon, getKey, getModule, setFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlExporter

public XmlExporter(int moduleIdx,
                   int mode)
            throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getFileType

public java.lang.String getFileType()
Description copied from class: ItemExporter
The file type.

Specified by:
getFileType in class ItemExporter
Returns:
File extension.

getTask

public DcThread getTask()
Specified by:
getTask in class ItemMigrater

getName

public java.lang.String getName()
Specified by:
getName in class ItemMigrater