edu.toronto.cs.xkripke
Class XKripkeFactory
java.lang.Object
edu.toronto.cs.xkripke.XKripkeFactory
public class XKripkeFactory
- extends java.lang.Object
Given a DOM tree constructs a XKripke structure for it
Field Summary |
static java.lang.String |
XBEL_NS
|
Method Summary |
static XKripke |
buildXKripke(org.w3c.dom.Document document)
|
static XKripke |
buildXKripke(org.w3c.dom.Element graph)
|
static void |
main(java.lang.String[] args)
|
static XKripke |
parse(java.lang.String uri)
Parses the file specified by uri and creates XKripke structure
from it. |
static XKripke[] |
parse(java.lang.String[] files)
Parses the files specified by the String [] and creates XKripke
for each one of them. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XBEL_NS
public static final java.lang.String XBEL_NS
- See Also:
- Constant Field Values
XKripkeFactory
public XKripkeFactory()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
parse
public static XKripke[] parse(java.lang.String[] files)
throws java.lang.Exception
- Parses the files specified by the String [] and creates XKripke
for each one of them.
- Throws:
java.lang.Exception
parse
public static XKripke parse(java.lang.String uri)
throws java.lang.Exception
- Parses the file specified by uri and creates XKripke structure
from it.
- Throws:
java.lang.Exception
buildXKripke
public static XKripke buildXKripke(org.w3c.dom.Document document)
throws java.lang.Exception
- Throws:
java.lang.Exception
buildXKripke
public static XKripke buildXKripke(org.w3c.dom.Element graph)
throws java.lang.Exception
- Throws:
java.lang.Exception