public class JSONLDWriterFactory extends Object implements RDFWriterFactory
RDFWriterFactory
that creates instances of JSONLDWriter
.Constructor and Description |
---|
JSONLDWriterFactory() |
Modifier and Type | Method and Description |
---|---|
RDFFormat |
getRDFFormat()
Returns the RDF format for this factory.
|
RDFWriter |
getWriter(OutputStream out)
Returns an RDFWriter instance that will write to the supplied output stream.
|
RDFWriter |
getWriter(OutputStream out,
String baseURI)
Returns an RDFWriter instance that will write to the supplied output stream.
|
RDFWriter |
getWriter(Writer writer)
Returns an RDFWriter instance that will write to the supplied writer.
|
RDFWriter |
getWriter(Writer writer,
String baseURI)
Returns an RDFWriter instance that will write to the supplied writer.
|
public RDFFormat getRDFFormat()
RDFWriterFactory
getRDFFormat
in interface RDFWriterFactory
public RDFWriter getWriter(OutputStream out)
RDFWriterFactory
getWriter
in interface RDFWriterFactory
out
- The OutputStream to write the RDF to.public RDFWriter getWriter(OutputStream out, String baseURI)
RDFWriterFactory
getWriter
in interface RDFWriterFactory
out
- The OutputStream to write the RDF to.baseURI
- The URI associated with the data in the InputStream.public RDFWriter getWriter(Writer writer)
RDFWriterFactory
getWriter
in interface RDFWriterFactory
writer
- The Writer to write the RDF to.public RDFWriter getWriter(Writer writer, String baseURI)
RDFWriterFactory
getWriter
in interface RDFWriterFactory
writer
- The Writer to write the RDF to.baseURI
- The URI associated with the data in the InputStream.Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.