Class 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)
    • Field Detail

      • 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: XParser
        Returns the name of the author of this parser.
        Specified by:
        author in class XParser
      • canParse

        public boolean canParse​(java.io.File file)
        Description copied from class: XParser
        Checks whether this parser can handle the given file.
        Specified by:
        canParse in class XParser
        Parameters:
        file - File to check against parser.
        Returns:
        Whether this parser can handle the given file.
      • description

        public java.lang.String description()
        Description copied from class: XParser
        Returns a brief description of this parser.
        Specified by:
        description in class XParser
      • name

        public java.lang.String name()
        Description copied from class: XParser
        Returns the name of this parser or, more specifically, the name of the format it can process.
        Specified by:
        name in class XParser
      • 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.
        Specified by:
        parse in class XParser
        Parameters:
        is - Input stream, which is supposed to deliver an MXML serialization.
        Returns:
        The parsed list of logs.
        Throws:
        java.lang.Exception