Package org.apache.jena.riot.writer
Class WriterStreamRDFBase
java.lang.Object
org.apache.jena.riot.writer.WriterStreamRDFBase
- All Implemented Interfaces:
StreamRDF
- Direct Known Subclasses:
WriterStreamRDFBlocks,WriterStreamRDFFlat
Core engine for output of triples / quads that is streaming.
Handles prefixes and base, together with the environment for processing.
If fed quads, the output is valid TriG.
If fed only triples, the output is valid Turtle.
Not for N-Quads and N-triples.
-
Constructor Summary
ConstructorsConstructorDescriptionWriterStreamRDFBase(OutputStream output, Context context) WriterStreamRDFBase(Writer output, Context context) WriterStreamRDFBase(org.apache.jena.atlas.io.IndentedWriter output, Context context) -
Method Summary
-
Constructor Details
-
WriterStreamRDFBase
-
WriterStreamRDFBase
-
WriterStreamRDFBase
-
-
Method Details
-
start
public final void start()Description copied from interface:StreamRDFStart processing -
finish
public final void finish()Description copied from interface:StreamRDFFinish processing -
triple
Description copied from interface:StreamRDFTriple emitted -
quad
Description copied from interface:StreamRDFQuad emitted -
base
Description copied from interface:StreamRDFbase declaration seen -
prefix
Description copied from interface:StreamRDFprefix declaration seen
-