|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deckfour.xes.in.XParser
org.deckfour.xes.in.XesXmlParser
public class XesXmlParser
Parser for the XES XML serialization.
| Nested Class Summary | |
|---|---|
protected class |
XesXmlParser.XesXmlHandler
SAX handler class for XES in XML representation. |
| Field Summary | |
|---|---|
protected XFactory |
factory
XES model factory used to build model. |
protected static URI |
XES_URI
Unique URI for the format definition. |
protected XsDateTimeConversion |
xsDateTimeConversion
|
| Constructor Summary | |
|---|---|
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 | |
|---|---|
String |
author()
Returns the name of the author of this parser. |
boolean |
canParse(File file)
Checks whether this parser can handle the given file. |
String |
description()
Returns a brief description of this parser. |
String |
name()
Returns the name of this parser or, more specifically, the name of the format it can process. |
List<XLog> |
parse(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 |
|---|
parse, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected XsDateTimeConversion xsDateTimeConversion
protected static final URI XES_URI
protected XFactory factory
| Constructor Detail |
|---|
public XesXmlParser(XFactory factory)
factory - The XES model factory instance used to build the model from
the serialization.public XesXmlParser()
| Method Detail |
|---|
public String author()
XParser
author in class XParserpublic boolean canParse(File file)
XParser
canParse in class XParserfile - File to check against parser.
public String description()
XParser
description in class XParserpublic String name()
XParser
name in class XParser
public List<XLog> parse(InputStream is)
throws Exception
parse in class XParseris - Input stream, which is supposed to deliver an XES log in XML
representation.
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||