de.fuberlin.wiwiss.ng4j.trix
Class JenaRDFWriter
java.lang.Object
de.fuberlin.wiwiss.ng4j.trix.JenaRDFWriter
- All Implemented Interfaces:
- RDFWriter
public class JenaRDFWriter
- extends Object
- implements RDFWriter
Simple RDFWriter that adds support for the TriX syntax (see
TriX
specification) to the Jena framework. It writes all statements
from a Jena model into a single trix:graph element, ignoring
the named graph features of TriX.
- Author:
- Richard Cyganiak (richard@cyganiak.de)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JenaRDFWriter
public JenaRDFWriter()
write
public void write(Model model,
Writer out,
String base)
- Specified by:
write
in interface RDFWriter
write
public void write(Model model,
OutputStream out,
String base)
- Specified by:
write
in interface RDFWriter
setProperty
public Object setProperty(String propName,
Object propValue)
- Specified by:
setProperty
in interface RDFWriter
setErrorHandler
public RDFErrorHandler setErrorHandler(RDFErrorHandler errHandler)
- Specified by:
setErrorHandler
in interface RDFWriter