net.fortytwo.sesametools
Class SingleContextHandler

java.lang.Object
  extended by net.fortytwo.sesametools.SingleContextHandler
All Implemented Interfaces:
org.openrdf.rio.RDFHandler

public class SingleContextHandler
extends Object
implements org.openrdf.rio.RDFHandler

Author: josh Date: Jan 28, 2008 Time: 3:09:30 PM


Constructor Summary
SingleContextHandler(org.openrdf.rio.RDFHandler base, org.openrdf.model.ValueFactory vf, org.openrdf.model.Resource singleContext)
           
 
Method Summary
 void endRDF()
           
 void handleComment(String comment)
           
 void handleNamespace(String prefix, String uri)
           
 void handleStatement(org.openrdf.model.Statement st)
           
 void startRDF()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleContextHandler

public SingleContextHandler(org.openrdf.rio.RDFHandler base,
                            org.openrdf.model.ValueFactory vf,
                            org.openrdf.model.Resource singleContext)
Method Detail

startRDF

public void startRDF()
              throws org.openrdf.rio.RDFHandlerException
Specified by:
startRDF in interface org.openrdf.rio.RDFHandler
Throws:
org.openrdf.rio.RDFHandlerException

endRDF

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

handleNamespace

public void handleNamespace(String prefix,
                            String uri)
                     throws org.openrdf.rio.RDFHandlerException
Specified by:
handleNamespace in interface org.openrdf.rio.RDFHandler
Throws:
org.openrdf.rio.RDFHandlerException

handleStatement

public void handleStatement(org.openrdf.model.Statement st)
                     throws org.openrdf.rio.RDFHandlerException
Specified by:
handleStatement in interface org.openrdf.rio.RDFHandler
Throws:
org.openrdf.rio.RDFHandlerException

handleComment

public void handleComment(String comment)
                   throws org.openrdf.rio.RDFHandlerException
Specified by:
handleComment in interface org.openrdf.rio.RDFHandler
Throws:
org.openrdf.rio.RDFHandlerException


Copyright © 2013. All Rights Reserved.