Package com.stardog.stark.io

# Class TransformingRDFHandler

java.lang.Object
com.stardog.stark.io.ForwardingRDFHandler
com.stardog.stark.io.TransformingRDFHandler

All Implemented Interfaces:
  `RDFHandler`

public class TransformingRDFHandler extends ForwardingRDFHandler

`RDFHandler` that will transform staements before passing them to a delegate

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TransformingRDFHandler(RDFHandler theHandler, Function<Statement,Statement> theTransformer)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `handle(Statement theStmt)`
  Event for when a statement was encountered

  ### Methods inherited from class com.stardog.stark.io.ForwardingRDFHandler

  `end, namespace, start`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TransformingRDFHandler

    public TransformingRDFHandler(RDFHandler theHandler, Function<Statement,Statement> theTransformer)

- ## Method Details

  - ### handle

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