Class RDFHandlerAdapter

  • All Implemented Interfaces:
    org.eclipse.rdf4j.rio.RDFHandler

    public class RDFHandlerAdapter
    extends Object
    implements org.eclipse.rdf4j.rio.RDFHandler
    An RDFHandler that relays statements and prefix definitions to an ExtractionResult. Used to feed output from Sesame's RDF parsers into Any23.
    Author:
    Richard Cyganiak (richard@cyganiak.de)
    • Constructor Detail

    • Method Detail

      • startRDF

        public void startRDF()
                      throws org.eclipse.rdf4j.rio.RDFHandlerException
        Specified by:
        startRDF in interface org.eclipse.rdf4j.rio.RDFHandler
        Throws:
        org.eclipse.rdf4j.rio.RDFHandlerException
      • handleNamespace

        public void handleNamespace​(String prefix,
                                    String uri)
        Specified by:
        handleNamespace in interface org.eclipse.rdf4j.rio.RDFHandler
      • handleStatement

        public void handleStatement​(org.eclipse.rdf4j.model.Statement stmt)
        Specified by:
        handleStatement in interface org.eclipse.rdf4j.rio.RDFHandler
      • handleComment

        public void handleComment​(String comment)
        Specified by:
        handleComment in interface org.eclipse.rdf4j.rio.RDFHandler
      • endRDF

        public void endRDF()
                    throws org.eclipse.rdf4j.rio.RDFHandlerException
        Specified by:
        endRDF in interface org.eclipse.rdf4j.rio.RDFHandler
        Throws:
        org.eclipse.rdf4j.rio.RDFHandlerException