Package com.stardog.stark.io
Class ForwardingRDFHandler
- java.lang.Object
-
- com.stardog.stark.io.ForwardingRDFHandler
-
- All Implemented Interfaces:
RDFHandler
- Direct Known Subclasses:
TransformingRDFHandler
public class ForwardingRDFHandler extends java.lang.Object implements RDFHandler
RDFHandlerbase implementation that will decorate a base handler- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
-
Constructor Summary
Constructors Constructor Description ForwardingRDFHandler(RDFHandler theHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidend()Notification that processing has finishedvoidhandle(Statement theStmt)Event for when a statement was encounteredvoidnamespace(java.lang.String thePrefix, java.lang.String theIRI)Event for when a namespace was encounteredvoidstart()Notification that the processing has started
-
-
-
Constructor Detail
-
ForwardingRDFHandler
public ForwardingRDFHandler(RDFHandler theHandler)
-
-
Method Detail
-
start
public void start()
Notification that the processing has started- Specified by:
startin interfaceRDFHandler
-
namespace
public void namespace(@Nonnull java.lang.String thePrefix, @Nonnull java.lang.String theIRI)Event for when a namespace was encountered- Specified by:
namespacein interfaceRDFHandler- Parameters:
thePrefix- the namespace prefixtheIRI- the associated IRI
-
handle
public void handle(@Nonnull Statement theStmt)Event for when a statement was encountered- Specified by:
handlein interfaceRDFHandler- Parameters:
theStmt- the statement
-
end
public void end()
Notification that processing has finished- Specified by:
endin interfaceRDFHandler
-
-