org.pf.tools.cda.core.export
Class ModelExportEngine

java.lang.Object
  extended by org.pf.tools.cda.core.export.ModelExportEngine

public class ModelExportEngine
extends java.lang.Object

The single instance holds a registry of all plugged-in model exporter factories. It also provides the functionality to actually export the model or part of it utilizing a particular exporter.

Version:
1.0
Author:
M.Duchrow

Method Summary
 boolean export(AModelObject modelObject, IProgressMonitor progressMonitor, AModelExporter exporter)
          Exports the given model object and returns true if the export was successful.
static ModelExportEngine instance()
          Returns the only instance this class supports (design pattern "Singleton")
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static ModelExportEngine instance()
Returns the only instance this class supports (design pattern "Singleton")


export

public boolean export(AModelObject modelObject,
                      IProgressMonitor progressMonitor,
                      AModelExporter exporter)
               throws java.lang.Exception
Exports the given model object and returns true if the export was successful.

Throws:
java.lang.Exception