Package com.stardog.stark.io
Class AbstractRDFHandler
- java.lang.Object
-
- com.stardog.stark.io.AbstractRDFHandler
-
- All Implemented Interfaces:
RDFHandler
- Direct Known Subclasses:
CollectingRDFHandler
,ParserContext
,RDFHandlers.DefaultRDFHandler
,RDFHandlers.GraphBuilder
public abstract class AbstractRDFHandler extends java.lang.Object implements RDFHandler
Base implementation of an
RDFHandler
which provides no-op implementations for all of the methods except handling ofstatements
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
-
Constructor Summary
Constructors Constructor Description AbstractRDFHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
end()
Notification that processing has finishedvoid
namespace(java.lang.String thePrefix, java.lang.String theIRI)
Event for when a namespace was encounteredvoid
start()
Notification that the processing has started-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.stardog.stark.io.RDFHandler
handle
-
-
-
-
Method Detail
-
start
public void start()
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)
Event for when a namespace was encountered- Specified by:
namespace
in interfaceRDFHandler
- Parameters:
thePrefix
- the namespace prefixtheIRI
- the associated IRI
-
end
public void end()
Notification that processing has finished- Specified by:
end
in interfaceRDFHandler
-
-