Package com.stardog.stark.io
Class DelegatingRDFHandler
- java.lang.Object
-
- com.stardog.stark.io.DelegatingRDFHandler
-
- All Implemented Interfaces:
RDFHandler
public class DelegatingRDFHandler extends java.lang.Object implements RDFHandler
- Since:
- 7.1
- Author:
- Pavel Klinov
-
-
Field Summary
Fields Modifier and Type Field Description protected RDFHandler
mDelegate
-
Constructor Summary
Constructors Constructor Description DelegatingRDFHandler(RDFHandler theDelegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
end()
Notification that processing has finishedvoid
handle(Statement theStmt)
Event for when a statement was encounteredvoid
namespace(java.lang.String thePrefix, java.lang.String theIRI)
Event for when a namespace was encounteredvoid
start()
Notification that the processing has started
-
-
-
Field Detail
-
mDelegate
protected final RDFHandler mDelegate
-
-
Constructor Detail
-
DelegatingRDFHandler
public DelegatingRDFHandler(RDFHandler theDelegate)
-
-
Method Detail
-
start
public void start()
Description copied from interface:RDFHandler
Notification that the processing has started- Specified by:
start
in interfaceRDFHandler
-
namespace
public void namespace(@Nonnull java.lang.String thePrefix, @Nonnull java.lang.String theIRI)
Description copied from interface:RDFHandler
Event for when a namespace was encountered- Specified by:
namespace
in interfaceRDFHandler
- Parameters:
thePrefix
- the namespace prefixtheIRI
- the associated IRI
-
handle
public void handle(@Nonnull Statement theStmt)
Description copied from interface:RDFHandler
Event for when a statement was encountered- Specified by:
handle
in interfaceRDFHandler
- Parameters:
theStmt
- the statement
-
end
public void end()
Description copied from interface:RDFHandler
Notification that processing has finished- Specified by:
end
in interfaceRDFHandler
-
-