org.openprovenance.rdf
Class OPMRdf2Xml
java.lang.Object
org.openprovenance.rdf.OPMRdf2Xml
public class OPMRdf2Xml
- extends Object
TODO: support for graph-level annotations
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPMRdf2Xml
public OPMRdf2Xml()
convert
public OPMGraph convert(String filename)
throws org.tupeloproject.kernel.OperatorException,
IOException
- Throws:
org.tupeloproject.kernel.OperatorException
IOException
convert
public OPMGraph convert(InputStream in)
throws org.tupeloproject.kernel.OperatorException,
IOException
- Throws:
org.tupeloproject.kernel.OperatorException
IOException
convert
public OPMGraph convert(Set<org.tupeloproject.rdf.Triple> triples)
throws org.tupeloproject.kernel.OperatorException,
IOException
- Throws:
org.tupeloproject.kernel.OperatorException
IOException
convertAnnotations
public List<EmbeddedAnnotation> convertAnnotations(Set<org.tupeloproject.rdf.Resource> annotations,
org.tupeloproject.provenance.impl.ProvenanceContextFacade pcf,
org.tupeloproject.kernel.Context context)
throws org.tupeloproject.kernel.OperatorException
- Throws:
org.tupeloproject.kernel.OperatorException
deUrify
public String deUrify(String id)
convert
public void convert(String inFilename,
String outFilename)
throws org.tupeloproject.kernel.OperatorException,
IOException,
javax.xml.bind.JAXBException
- Throws:
org.tupeloproject.kernel.OperatorException
IOException
javax.xml.bind.JAXBException
main
public static void main(String[] args)
throws org.tupeloproject.kernel.OperatorException,
IOException,
javax.xml.bind.JAXBException
- Throws:
org.tupeloproject.kernel.OperatorException
IOException
javax.xml.bind.JAXBException
Copyright © 2010. All Rights Reserved.