public interface RDFHandler
Interface for consuming RDF
Modifier and Type | Method and Description |
---|---|
void |
end()
Notification that processing has finished
|
void |
handle(Statement theStmt)
Event for when a statement was encountered
|
void |
namespace(String thePrefix,
String theIRI)
Event for when a namespace was encountered
|
void |
start()
Notification that the processing has started
|
void start()
RDFHandlerException
- if there was an error while handling the start notificationvoid namespace(@Nonnull String thePrefix, @Nonnull String theIRI)
thePrefix
- the namespace prefixtheIRI
- the associated IRIRDFHandlerException
- if there was an error while handling the namespacevoid handle(@Nonnull Statement theStmt)
theStmt
- the statementRDFHandlerException
- if there was an error while handling the statementvoid end()
RDFHandlerException
- if there was an error while handling the end notificatinoCopyright © 2010-2016 Stardog Union. All Rights Reserved.