org.w3c.rdfpic.core
Class Rdf2MetaLoader

java.lang.Object
  |
  +--org.w3c.rdfpic.core.Rdf2MetaLoader

class Rdf2MetaLoader
extends java.lang.Object
implements org.w3c.rdf.syntax.RDFConsumer

Provides a "sink" for all the rdf-data found when parsing an puts it into a model.


Field Summary
(package private)  org.w3c.rdf.model.Model model
           
 
Constructor Summary
(package private) Rdf2MetaLoader(org.w3c.rdf.model.Model model)
          Construct and add all rdf statements to the given model.
 
Method Summary
 void addStatement(org.w3c.rdf.model.Statement s)
           
 void endModel()
           
 org.w3c.rdf.model.NodeFactory getNodeFactory()
           
 void startModel()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

model

org.w3c.rdf.model.Model model
Constructor Detail

Rdf2MetaLoader

Rdf2MetaLoader(org.w3c.rdf.model.Model model)
Construct and add all rdf statements to the given model.
Method Detail

addStatement

public void addStatement(org.w3c.rdf.model.Statement s)
Specified by:
addStatement in interface org.w3c.rdf.syntax.RDFConsumer

endModel

public void endModel()
Specified by:
endModel in interface org.w3c.rdf.syntax.RDFConsumer

startModel

public void startModel()
Specified by:
startModel in interface org.w3c.rdf.syntax.RDFConsumer

getNodeFactory

public org.w3c.rdf.model.NodeFactory getNodeFactory()
Specified by:
getNodeFactory in interface org.w3c.rdf.syntax.RDFConsumer