net.fortytwo.flow.rdf
Class SesameOutputAdapter

java.lang.Object
  extended by net.fortytwo.flow.rdf.SesameOutputAdapter
All Implemented Interfaces:
RDFSink

public class SesameOutputAdapter
extends Object
implements RDFSink

An RdfSink which passes its input into an RDFHandler.

Author:
Joshua Shinavier (http://fortytwo.net)

Constructor Summary
SesameOutputAdapter(org.openrdf.rio.RDFHandler handler)
           
 
Method Summary
 Sink<String> commentSink()
           
 void endRDF()
           
 Sink<org.openrdf.model.Namespace> namespaceSink()
           
 void startRDF()
           
 Sink<org.openrdf.model.Statement> statementSink()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SesameOutputAdapter

public SesameOutputAdapter(org.openrdf.rio.RDFHandler handler)
Method Detail

startRDF

public void startRDF()
              throws org.openrdf.rio.RDFHandlerException
Throws:
org.openrdf.rio.RDFHandlerException

endRDF

public void endRDF()
            throws org.openrdf.rio.RDFHandlerException
Throws:
org.openrdf.rio.RDFHandlerException

statementSink

public Sink<org.openrdf.model.Statement> statementSink()
Specified by:
statementSink in interface RDFSink

namespaceSink

public Sink<org.openrdf.model.Namespace> namespaceSink()
Specified by:
namespaceSink in interface RDFSink

commentSink

public Sink<String> commentSink()
Specified by:
commentSink in interface RDFSink


Copyright © 2007-2014. All Rights Reserved.