Interface RDFHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void end()
      Notification that processing has finished
      void handle​(Statement theStmt)
      Event for when a statement was encountered
      void namespace​(java.lang.String thePrefix, java.lang.String theIRI)
      Event for when a namespace was encountered
      void start()
      Notification that the processing has started
    • Method Detail

      • start

        void start()
        Notification that the processing has started
        Throws:
        RDFHandlerException - if there was an error while handling the start notification
      • namespace

        void namespace​(@Nonnull
                       java.lang.String thePrefix,
                       @Nonnull
                       java.lang.String theIRI)
        Event for when a namespace was encountered
        Parameters:
        thePrefix - the namespace prefix
        theIRI - the associated IRI
        Throws:
        RDFHandlerException - if there was an error while handling the namespace
      • handle

        void handle​(@Nonnull
                    Statement theStmt)
        Event for when a statement was encountered
        Parameters:
        theStmt - the statement
        Throws:
        RDFHandlerException - if there was an error while handling the statement
      • end

        void end()
        Notification that processing has finished
        Throws:
        RDFHandlerException - if there was an error while handling the end notificatino