Package com.stardog.stark.io
Interface RDFHandler
- All Known Subinterfaces:
RDFWriter
- All Known Implementing Classes:
AbstractRDFHandler,BinaryRDFWriter,CollectingRDFHandler,DelegatingRDFHandler,ForwardingRDFHandler,ForwardingRDFWriter,IOParserContext,JSONLDWriter,LineSupplierParserContext,NQuadsWriter,NTWriter,ParserContext,PrettyTurtleWriter,RDFHandlers.DefaultRDFHandler,RDFHandlers.GraphBuilder,RDFJSONWriter,RDFXMLPrettyWriter,RDFXMLWriter,StreamingJSONLDWriter,TransformingRDFHandler,TrigWriter,TurtleParserContext,TurtleWriter
public interface RDFHandler
Interface for consuming RDF
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
Method Details
-
start
void start()Notification that the processing has started- Throws:
RDFHandlerException- if there was an error while handling the start notification
-
namespace
Event for when a namespace was encountered- Parameters:
thePrefix- the namespace prefixtheIRI- the associated IRI- Throws:
RDFHandlerException- if there was an error while handling the namespace
-
handle
Event for when a statement was encountered- Parameters:
theStmt- the statement- Throws:
RDFHandlerException- if there was an error while handling the statement
-
end
void end()Notification that processing has finished- Throws:
RDFHandlerException- if there was an error while handling the end notificatino
-