public class JSONLDWriter extends AbstractRDFWriter implements RDFWriter, CharSink
JSONLDInternalRDFParser.namespaceTable, statementConsumer| Constructor and Description |
|---|
JSONLDWriter(OutputStream outputStream)
Create a SesameJSONLDWriter using a
OutputStream |
JSONLDWriter(OutputStream outputStream,
String baseURI)
Create a JSONLDWriter using a
OutputStream |
JSONLDWriter(Writer writer)
Create a SesameJSONLDWriter using a
Writer |
JSONLDWriter(Writer writer,
String baseURI)
Create a SesameJSONLDWriter using a
Writer |
| Modifier and Type | Method and Description |
|---|---|
void |
consumeStatement(org.eclipse.rdf4j.model.Statement st) |
void |
endRDF() |
RDFFormat |
getRDFFormat() |
Collection<RioSetting<?>> |
getSupportedSettings() |
Writer |
getWriter() |
void |
handleComment(String comment) |
void |
handleNamespace(String prefix,
String uri) |
void |
startRDF() |
checkWritingStarted, getFileFormat, getWriterConfig, handleStatement, isWritingStarted, set, setWriterConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWriterConfig, set, setWriterConfighandleStatementacceptsFileFormat, getFileFormatpublic JSONLDWriter(OutputStream outputStream)
OutputStreamoutputStream - The OutputStream to write to.public JSONLDWriter(OutputStream outputStream, String baseURI)
OutputStreamoutputStream - The OutputStream to write to.baseURI - base URIpublic JSONLDWriter(Writer writer)
Writerwriter - The Writer to write to.public void handleNamespace(String prefix, String uri) throws RDFHandlerException
handleNamespace in interface RDFHandlerhandleNamespace in class AbstractRDFWriterRDFHandlerExceptionpublic void startRDF()
throws RDFHandlerException
startRDF in interface RDFHandlerstartRDF in class AbstractRDFWriterRDFHandlerExceptionpublic void endRDF()
throws RDFHandlerException
endRDF in interface RDFHandlerRDFHandlerExceptionpublic void consumeStatement(org.eclipse.rdf4j.model.Statement st) throws RDFHandlerException
consumeStatement 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.