org.deckfour.xes.out
Class XMxmlGZIPSerializer

java.lang.Object
  extended by org.deckfour.xes.out.XMxmlSerializer
      extended by org.deckfour.xes.out.XMxmlGZIPSerializer
All Implemented Interfaces:
XSerializer

public class XMxmlGZIPSerializer
extends XMxmlSerializer

Compressed MXML serialization for XES data (legacy implementation). Note that this serialization may be lossy, you should preferrably use the XES.XML serialization for XES data.

Author:
Christian W. Guenther (christian@deckfour.org)

Field Summary
 
Fields inherited from class org.deckfour.xes.out.XMxmlSerializer
knownTypes, xsDateTimeConversion
 
Constructor Summary
XMxmlGZIPSerializer()
           
 
Method Summary
 String getAuthor()
          Returns the name of this serialization's author.
 String getDescription()
          Returns a brief description of this serialization.
 String getName()
          Returns the human-readable name of this serialization.
 String[] getSuffices()
          Returns an array of possible file suffices for this serialization.
 void serialize(XLog log, OutputStream out)
          Serializes a given log to the given output stream.
 String toString()
          toString() defaults to getName().
 
Methods inherited from class org.deckfour.xes.out.XMxmlSerializer
addAttributes, addAttributes, addModelReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMxmlGZIPSerializer

public XMxmlGZIPSerializer()
Method Detail

getDescription

public String getDescription()
Description copied from interface: XSerializer
Returns a brief description of this serialization.

Specified by:
getDescription in interface XSerializer
Overrides:
getDescription in class XMxmlSerializer

getName

public String getName()
Description copied from interface: XSerializer
Returns the human-readable name of this serialization.

Specified by:
getName in interface XSerializer
Overrides:
getName in class XMxmlSerializer

getAuthor

public String getAuthor()
Description copied from interface: XSerializer
Returns the name of this serialization's author.

Specified by:
getAuthor in interface XSerializer
Overrides:
getAuthor in class XMxmlSerializer

getSuffices

public String[] getSuffices()
Description copied from interface: XSerializer
Returns an array of possible file suffices for this serialization.

Specified by:
getSuffices in interface XSerializer
Overrides:
getSuffices in class XMxmlSerializer

serialize

public void serialize(XLog log,
                      OutputStream out)
               throws IOException
Description copied from interface: XSerializer
Serializes a given log to the given output stream.

Specified by:
serialize in interface XSerializer
Overrides:
serialize in class XMxmlSerializer
Parameters:
log - Log to be serialized.
out - OutputStream for serialization.
Throws:
IOException

toString

public String toString()
toString() defaults to getName().

Overrides:
toString in class XMxmlSerializer