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 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 Summary

  Constructors
  Constructor
  Description
  `AbstractRDFHandler()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `end()`
  Notification that processing has finished
  `void`
  `namespace(String thePrefix, String theIRI)`
  Event for when a namespace was encountered
  `void`
  `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`

- ## 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`