edu.stanford.db.rdf.syntax.generic
Class DumpConsumer

java.lang.Object
  |
  +--edu.stanford.db.rdf.syntax.generic.DumpConsumer
All Implemented Interfaces:
RDFConsumer

public class DumpConsumer
extends java.lang.Object
implements RDFConsumer


Constructor Summary
DumpConsumer()
           
 
Method Summary
 void addStatement(Statement s)
          assert is called every time a new statement within RDF data model is added
 void endModel()
          end is called when parsing of data is ended
 NodeFactory getNodeFactory()
          node factory to be used by the parser for creating resources and literals passed to addStatement
 void startModel()
          start is called when parsing of data is started
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumpConsumer

public DumpConsumer()
Method Detail

startModel

public void startModel()
Description copied from interface: RDFConsumer
start is called when parsing of data is started
Specified by:
startModel in interface RDFConsumer

endModel

public void endModel()
Description copied from interface: RDFConsumer
end is called when parsing of data is ended
Specified by:
endModel in interface RDFConsumer

getNodeFactory

public NodeFactory getNodeFactory()
Description copied from interface: RDFConsumer
node factory to be used by the parser for creating resources and literals passed to addStatement
Specified by:
getNodeFactory in interface RDFConsumer

addStatement

public void addStatement(Statement s)
Description copied from interface: RDFConsumer
assert is called every time a new statement within RDF data model is added
Specified by:
addStatement in interface RDFConsumer