org.openprovenance.model
Class OPMDeserialiser
java.lang.Object
org.openprovenance.model.OPMDeserialiser
public class OPMDeserialiser
- extends Object
Deserialiser of OPM Graphs.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jc
protected static javax.xml.bind.JAXBContext jc
OPMDeserialiser
public OPMDeserialiser()
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
OPMDeserialiser
public OPMDeserialiser(String packageList)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
getThreadOPMDeserialiser
public static OPMDeserialiser getThreadOPMDeserialiser()
deserialiseOPMGraph
public OPMGraph deserialiseOPMGraph(Element serialised)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
deserialiseOPMGraph
public OPMGraph deserialiseOPMGraph(File serialised)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
validateOPMGraph
public OPMGraph validateOPMGraph(String[] schemaFiles,
File serialised)
throws javax.xml.bind.JAXBException,
SAXException,
IOException
- Throws:
javax.xml.bind.JAXBException
SAXException
IOException
main
public static void main(String[] args)
Copyright © 2010. All Rights Reserved.