Package org.deckfour.xes.in
Class XMxmlParser
- java.lang.Object
-
- org.deckfour.xes.in.XParser
-
- org.deckfour.xes.in.XMxmlParser
-
- Direct Known Subclasses:
XMxmlGZIPParser
public class XMxmlParser extends XParser
Parser for the MXML format for event logs (deprecated).- Author:
- Christian W. Guenther (christian@deckfour.org)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classXMxmlParser.MxmlHandlerThis class implements a SAX2 handler for sequential parsing of MXML documents.
-
Field Summary
Fields Modifier and Type Field Description static java.util.List<XEventClassifier>MXML_CLASSIFIERSCollection of standard classifiers used for MXML event logs.static XEventClassifierMXML_EVENT_NAME_CLASSIFIEREvent name classifier used for MXML event logs.static XEventClassifierMXML_ORIGINATOR_CLASSIFIEROriginator classifier used for MXML event logs.static XEventClassifierMXML_STANDARD_CLASSIFIERStandard classifier used for MXML event logs.protected XsDateTimeConversionxsDateTimeConversion
-
Constructor Summary
Constructors Constructor Description XMxmlParser()Creates a new MXML parser instance, using the current standard factory for XES model building.XMxmlParser(XFactory factory)Creates a new MXML parser instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringauthor()Returns the name of the author of this parser.booleancanParse(java.io.File file)Checks whether this parser can handle the given file.java.lang.Stringdescription()Returns a brief description of this parser.java.lang.Stringname()Returns the name of this parser or, more specifically, the name of the format it can process.java.util.List<XLog>parse(java.io.InputStream is)Parses a set of logs from the given input stream, which is supposed to deliver an MXML serialization.-
Methods inherited from class org.deckfour.xes.in.XParser
endsWithIgnoreCase, parse, toString
-
-
-
-
Field Detail
-
xsDateTimeConversion
protected XsDateTimeConversion xsDateTimeConversion
-
MXML_STANDARD_CLASSIFIER
public static XEventClassifier MXML_STANDARD_CLASSIFIER
Standard classifier used for MXML event logs.
-
MXML_EVENT_NAME_CLASSIFIER
public static XEventClassifier MXML_EVENT_NAME_CLASSIFIER
Event name classifier used for MXML event logs.
-
MXML_ORIGINATOR_CLASSIFIER
public static XEventClassifier MXML_ORIGINATOR_CLASSIFIER
Originator classifier used for MXML event logs.
-
MXML_CLASSIFIERS
public static java.util.List<XEventClassifier> MXML_CLASSIFIERS
Collection of standard classifiers used for MXML event logs.
-
-
Constructor Detail
-
XMxmlParser
public XMxmlParser(XFactory factory)
Creates a new MXML parser instance.- Parameters:
factory- The factory to use for XES model building.
-
XMxmlParser
public XMxmlParser()
Creates a new MXML parser instance, using the current standard factory for XES model building.
-
-
Method Detail
-
author
public java.lang.String author()
Description copied from class:XParserReturns the name of the author of this parser.
-
canParse
public boolean canParse(java.io.File file)
Description copied from class:XParserChecks whether this parser can handle the given file.
-
description
public java.lang.String description()
Description copied from class:XParserReturns a brief description of this parser.- Specified by:
descriptionin classXParser
-
name
public java.lang.String name()
Description copied from class:XParserReturns the name of this parser or, more specifically, the name of the format it can process.
-
parse
public java.util.List<XLog> parse(java.io.InputStream is) throws java.lang.Exception
Parses a set of logs from the given input stream, which is supposed to deliver an MXML serialization.
-
-