|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deckfour.xes.extension.XExtensionParser
public class XExtensionParser
Parser for extension definition files.
Nested Class Summary | |
---|---|
protected class |
XExtensionParser.XExtensionHandler
SAX handler class for extension definition files. |
Constructor Summary | |
---|---|
XExtensionParser()
|
Method Summary | |
---|---|
static XExtensionParser |
instance()
Provides access to the singleton parser. |
XExtension |
parse(File file)
Parses an extension from a definition file. |
XExtension |
parse(URI uri)
Parses an extension from a URI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XExtensionParser()
Method Detail |
---|
public static XExtensionParser instance()
public XExtension parse(File file) throws IOException, ParserConfigurationException, SAXException
file
- The definition file containing the extension.
IOException
ParserConfigurationException
SAXException
public XExtension parse(URI uri) throws IOException, ParserConfigurationException, SAXException
file
- The URI which represents the extension definition file.
IOException
ParserConfigurationException
SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |