public class NDJSONLDWriter extends AbstractRDFWriter implements RDFWriter
namespaceTable, statementConsumer| Constructor and Description |
|---|
NDJSONLDWriter(OutputStream outputStream)
Creates a new NDJSONLDWriter that will write to the supplied OutputStream.
|
NDJSONLDWriter(OutputStream out,
String baseURI) |
NDJSONLDWriter(Writer writer) |
NDJSONLDWriter(Writer writer,
String baseURI) |
| Modifier and Type | Method and Description |
|---|---|
void |
endRDF() |
RDFFormat |
getRDFFormat() |
Collection<RioSetting<?>> |
getSupportedSettings() |
void |
handleComment(String comment) |
void |
handleNamespace(String prefix,
String uri) |
void |
handleStatement(org.eclipse.rdf4j.model.Statement st) |
void |
startRDF() |
checkWritingStarted, consumeStatement, getFileFormat, getWriterConfig, isWritingStarted, set, setWriterConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWriterConfig, set, setWriterConfigacceptsFileFormatpublic NDJSONLDWriter(OutputStream outputStream)
outputStream - The OutputStream to write the NDJSONLD document to.public NDJSONLDWriter(Writer writer)
public NDJSONLDWriter(OutputStream out, String baseURI)
public void handleStatement(org.eclipse.rdf4j.model.Statement st) throws RDFHandlerException
handleStatement in interface RDFHandlerhandleStatement in class AbstractRDFWriterRDFHandlerExceptionpublic void startRDF()
throws RDFHandlerException
startRDF in interface RDFHandlerstartRDF in class AbstractRDFWriterRDFHandlerExceptionpublic void endRDF()
throws RDFHandlerException
endRDF in interface RDFHandlerRDFHandlerExceptionpublic void handleNamespace(String prefix, String uri) throws RDFHandlerException
handleNamespace in interface RDFHandlerhandleNamespace in class AbstractRDFWriterRDFHandlerExceptionpublic void handleComment(String comment) throws RDFHandlerException
handleComment in interface RDFHandlerRDFHandlerExceptionpublic RDFFormat getRDFFormat()
getRDFFormat in interface RDFWriterpublic Collection<RioSetting<?>> getSupportedSettings()
getSupportedSettings in interface RDFWritergetSupportedSettings in class AbstractRDFWriterCopyright © 2015-2021 Eclipse Foundation. All Rights Reserved.