- All Known Subinterfaces:
StreamRDFCounting
- All Known Implementing Classes:
BatchedStreamRDF
,CollectorStreamBase
,CollectorStreamQuads
,CollectorStreamRDF
,CollectorStreamTriples
,InfStreamRDFS
,LoggingStreamRDF
,PrintingStreamRDF
,ProgressStreamRDF
,StreamCanonicalLangTag
,StreamCanonicalLiterals
,StreamRDF2
,StreamRDF2Protobuf
,StreamRDF2Thrift
,StreamRDFApply
,StreamRDFApply
,StreamRDFApplyObject
,StreamRDFBase
,StreamRDFCollectOne
,StreamRDFCountingBase
,StreamRDFReject
,StreamRDFWrapper
,StreamTriplesOnly
,StreamWriterTriX
,WriterStreamRDFBase
,WriterStreamRDFBlocks
,WriterStreamRDFFlat
,WriterStreamRDFPlain
public interface StreamRDF
The interface for the output of RDF, such as the RIOT parsers.
The parser event model is that items are emitted for significant events.
The events are start/finish, emitting triples/quads/tuples as necessary, prefixes and base directives.
Tuples are generalized triples or quads. A triple language will call triple(),
quad language quad() in preference.
-
Method Details
-
start
void start()Start processing -
triple
void triple(org.apache.jena.graph.Triple triple) Triple emitted -
quad
Quad emitted -
base
base declaration seen -
prefix
prefix declaration seen -
finish
void finish()Finish processing
-