public class TriXWriter extends AbstractRDFWriter implements RDFWriter
namespaceTable| Modifier | Constructor and Description |
|---|---|
|
TriXWriter(OutputStream out)
Creates a new TriXWriter that will write to the supplied OutputStream.
|
|
TriXWriter(Writer writer)
Creates a new TriXWriter that will write to the supplied Writer.
|
protected |
TriXWriter(XMLWriter xmlWriter) |
| Modifier and Type | Method and Description |
|---|---|
void |
endRDF() |
RDFFormat |
getRDFFormat() |
void |
handleComment(String comment) |
void |
handleNamespace(String prefix,
String name) |
void |
handleStatement(Statement st) |
void |
startRDF() |
getSupportedSettings, getWriterConfig, set, setWriterConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSupportedSettings, getWriterConfig, set, setWriterConfigpublic TriXWriter(OutputStream out)
out - The OutputStream to write the RDF/XML document to.public TriXWriter(Writer writer)
writer - The Writer to write the RDF/XML document to.protected TriXWriter(XMLWriter xmlWriter)
public RDFFormat getRDFFormat()
getRDFFormat in interface RDFWriterpublic void startRDF()
throws RDFHandlerException
startRDF in interface RDFHandlerRDFHandlerExceptionpublic void endRDF()
throws RDFHandlerException
endRDF in interface RDFHandlerRDFHandlerExceptionpublic void handleNamespace(String prefix, String name)
handleNamespace in interface RDFHandlerhandleNamespace in class AbstractRDFWriterpublic void handleStatement(Statement st) throws RDFHandlerException
handleStatement in interface RDFHandlerRDFHandlerExceptionpublic void handleComment(String comment) throws RDFHandlerException
handleComment in interface RDFHandlerRDFHandlerExceptionCopyright © 2015-2018 Eclipse Foundation. All Rights Reserved.