org.openprovenance.rdf
Class OPMXml2Rdf
java.lang.Object
org.openprovenance.rdf.OPMXml2Rdf
public class OPMXml2Rdf
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URI_PREFIX
public static String URI_PREFIX
OPMXml2Rdf
public OPMXml2Rdf()
convert
public void convert(OPMGraph graph,
String filename)
throws org.tupeloproject.kernel.OperatorException,
IOException
- Throws:
org.tupeloproject.kernel.OperatorException
IOException
convert
public void convert(OPMGraph graph,
OutputStream out)
throws org.tupeloproject.kernel.OperatorException,
IOException
- Throws:
org.tupeloproject.kernel.OperatorException
IOException
triplifyAnnotation
public List<org.tupeloproject.rdf.Triple> triplifyAnnotation(Annotation annotation)
triplifyAnnotations
public List<org.tupeloproject.rdf.Triple> triplifyAnnotations(org.tupeloproject.rdf.Resource subject,
List<javax.xml.bind.JAXBElement<? extends EmbeddedAnnotation>> annotations)
addTriplesForAnnotation
public void addTriplesForAnnotation(org.tupeloproject.rdf.Resource subject,
EmbeddedAnnotation ann,
List<org.tupeloproject.rdf.Triple> triples)
makeLiteral
public org.tupeloproject.rdf.Resource makeLiteral(Object value)
urify
public String urify(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.