org.processmining.exporting.epcs
Class EpmlExport

java.lang.Object
  extended by org.processmining.exporting.epcs.EpmlExport
All Implemented Interfaces:
ExportPlugin, Plugin

public class EpmlExport
extends java.lang.Object
implements ExportPlugin

Title:

Description:

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
not attributable

Constructor Summary
EpmlExport()
           
 
Method Summary
 boolean accepts(ProvidedObject object)
           
 void enumerateEPCs(java.lang.Object obj)
           
 void export(ProvidedObject object, java.io.OutputStream output)
           
 java.lang.String getFileExtension()
           
 java.lang.String getHtmlDescription()
          Gets a description of this plugin in HTML.
 java.lang.String getName()
          Gets the name of this plugin.
 void writeAll(java.io.OutputStream output)
           
 java.lang.String writeArc(ModelGraphVertex snode, ModelGraphVertex tnode, int source, int target, int id)
           
 java.lang.String writeEPC(ConfigurableEPC epc)
           
 java.lang.String writeFlat(ConfigurableEPC epc)
           
 java.lang.String writeHierarchy(EPCHierarchy hierarchy)
           
 java.lang.String writeHierarchyRecursive(java.lang.Object obj, EPCHierarchy hierarchy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EpmlExport

public EpmlExport()
Method Detail

accepts

public boolean accepts(ProvidedObject object)
Specified by:
accepts in interface ExportPlugin

getFileExtension

public java.lang.String getFileExtension()
Specified by:
getFileExtension in interface ExportPlugin

getName

public java.lang.String getName()
Description copied from interface: Plugin
Gets the name of this plugin. Implementing classes should use this method to return their own name.

Specified by:
getName in interface Plugin
Returns:
the name of this plugin

getHtmlDescription

public java.lang.String getHtmlDescription()
Description copied from interface: Plugin
Gets a description of this plugin in HTML. The string returned by this method should only contain the contents of the body of the html page, so the html, head and body tags should not be used. This HTML page is displayed in the help system or as context sensitive help. The HTML body can be stored in an external file in the /lib/documentation/ sub folder and in this case it can be obtained by calling PluginDocumentationLoader.load(this)

Specified by:
getHtmlDescription in interface Plugin
Returns:
a description of this plugin in HTML

export

public void export(ProvidedObject object,
                   java.io.OutputStream output)
            throws java.io.IOException
Specified by:
export in interface ExportPlugin
Throws:
java.io.IOException

writeAll

public void writeAll(java.io.OutputStream output)
              throws java.io.IOException
Throws:
java.io.IOException

enumerateEPCs

public void enumerateEPCs(java.lang.Object obj)

writeFlat

public java.lang.String writeFlat(ConfigurableEPC epc)

writeHierarchy

public java.lang.String writeHierarchy(EPCHierarchy hierarchy)

writeHierarchyRecursive

public java.lang.String writeHierarchyRecursive(java.lang.Object obj,
                                                EPCHierarchy hierarchy)

writeEPC

public java.lang.String writeEPC(ConfigurableEPC epc)

writeArc

public java.lang.String writeArc(ModelGraphVertex snode,
                                 ModelGraphVertex tnode,
                                 int source,
                                 int target,
                                 int id)