Package org.deckfour.xes.in
Class XesXmlParser
- java.lang.Object
-
- org.deckfour.xes.in.XParser
-
- org.deckfour.xes.in.XesXmlParser
-
- Direct Known Subclasses:
XesXmlGZIPParser
public class XesXmlParser extends XParser
Parser for the XES XML serialization.- Author:
- Christian W. Guenther (christian@deckfour.org)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classXesXmlParser.XesXmlHandlerSAX handler class for XES in XML representation.
-
Field Summary
Fields Modifier and Type Field Description protected XFactoryfactoryXES model factory used to build model.protected static java.net.URIXES_URIUnique URI for the format definition.protected XsDateTimeConversionxsDateTimeConversion
-
Constructor Summary
Constructors Constructor Description XesXmlParser()Creates a new parser instance, using the currently-set standard factory for building the model.XesXmlParser(XFactory factory)Creates a new 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 log from the given input stream, which is supposed to deliver an XES log in XML representation.-
Methods inherited from class org.deckfour.xes.in.XParser
endsWithIgnoreCase, parse, toString
-
-
-
-
Field Detail
-
xsDateTimeConversion
protected XsDateTimeConversion xsDateTimeConversion
-
XES_URI
protected static final java.net.URI XES_URI
Unique URI for the format definition.
-
factory
protected XFactory factory
XES model factory used to build model.
-
-
Constructor Detail
-
XesXmlParser
public XesXmlParser(XFactory factory)
Creates a new parser instance.- Parameters:
factory- The XES model factory instance used to build the model from the serialization.
-
XesXmlParser
public XesXmlParser()
Creates a new parser instance, using the currently-set standard factory for building the model.
-
-
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 log from the given input stream, which is supposed to deliver an XES log in XML representation.
-
-