Class ForwardingRDFHandler

java.lang.Object
com.stardog.stark.io.ForwardingRDFHandler
All Implemented Interfaces:
RDFHandler
Direct Known Subclasses:
TransformingRDFHandler

public class ForwardingRDFHandler extends Object implements RDFHandler

RDFHandler base implementation that will decorate a base handler

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

    • ForwardingRDFHandler

      public ForwardingRDFHandler(RDFHandler theHandler)
  • 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
    • handle

      public void handle(@Nonnull Statement theStmt)
      Event for when a statement was encountered
      Specified by:
      handle in interface RDFHandler
      Parameters:
      theStmt - the statement
    • end

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