Package de.swa.mmfg.builder
Class DetectionExporter
java.lang.Object
de.swa.mmfg.builder.DetectionExporter
- All Implemented Interfaces:
Flattener,Unflattener
public class DetectionExporter extends java.lang.Object implements Flattener, Unflattener
export the complete list of MMFGs as XML
-
Constructor Summary
Constructors Constructor Description DetectionExporter() -
Method Summary
Modifier and Type Method Description java.lang.StringendFile()writes some footer (if required)java.lang.Stringflatten(MMFG fv)this method is called, when a MMFG should be exportedjava.lang.StringgetFileExtension()returns the file extension for this flattening processjava.lang.StringstartFile()writes some header (if required)MMFGunflatten(java.lang.String xml)returns the MMFG contained in the string
-
Constructor Details
-
DetectionExporter
public DetectionExporter()
-
-
Method Details
-
flatten
Description copied from interface:Flattenerthis method is called, when a MMFG should be exported -
unflatten
Description copied from interface:Unflattenerreturns the MMFG contained in the string- Specified by:
unflattenin interfaceUnflattener
-
getFileExtension
public java.lang.String getFileExtension()Description copied from interface:Flattenerreturns the file extension for this flattening process- Specified by:
getFileExtensionin interfaceFlattener
-
startFile
public java.lang.String startFile()Description copied from interface:Flattenerwrites some header (if required) -
endFile
public java.lang.String endFile()Description copied from interface:Flattenerwrites some footer (if required)
-