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 Object implements RDFHandler

Base implementation of an RDFHandler which provides no-op implementations for all of the methods except handling of statements

Since:
1.0
Version:
1.0
Author:
Michael Grove
  • Constructor Details

    • AbstractRDFHandler

      public AbstractRDFHandler()
  • Method Details

    • start

      public void start()
      Notification that the processing has started
      Specified by:
      start in interface RDFHandler
    • namespace

      public void namespace(@Nonnull String thePrefix, @Nonnull String theIRI)
      Event for when a namespace was encountered
      Specified by:
      namespace in interface RDFHandler
      Parameters:
      thePrefix - the namespace prefix
      theIRI - the associated IRI
    • end

      public void end()
      Notification that processing has finished
      Specified by:
      end in interface RDFHandler