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. It covers Turtle and
TriG "
flat
" and "blocks
"
variants.
It handles prefixes and base and node formats which is controlled by a NodeFormatterTTL
.
The output is valid TriG.
If fed only triples, the output is valid Turtle.
For N-Quads and N-triples use WriterStreamRDFPlain
.
-
Method Details
-
start
public final void start()Description copied from interface:StreamRDF
Start processing -
finish
public final void finish()Description copied from interface:StreamRDF
Finish processing -
triple
public final void triple(org.apache.jena.graph.Triple triple) Description copied from interface:StreamRDF
Triple emitted -
quad
Description copied from interface:StreamRDF
Quad emitted -
base
Description copied from interface:StreamRDF
base declaration seen -
prefix
Description copied from interface:StreamRDF
prefix declaration seen
-