org.openprovenance.model
Class OPMDeserialiser

java.lang.Object
  extended by org.openprovenance.model.OPMDeserialiser

public class OPMDeserialiser
extends Object

Deserialiser of OPM Graphs.


Field Summary
protected static javax.xml.bind.JAXBContext jc
           
 
Constructor Summary
OPMDeserialiser()
           
OPMDeserialiser(String packageList)
           
 
Method Summary
 OPMGraph deserialiseOPMGraph(Element serialised)
           
 OPMGraph deserialiseOPMGraph(File serialised)
           
static OPMDeserialiser getThreadOPMDeserialiser()
           
static void main(String[] args)
           
 OPMGraph validateOPMGraph(String[] schemaFiles, File serialised)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jc

protected static javax.xml.bind.JAXBContext jc
Constructor Detail

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
Method Detail

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.