fr.lirmm.graphik.cogui.rdf
Class ImportRawRDF

java.lang.Object
  extended by fr.lirmm.graphik.cogui.rdf.ImportRawRDF
All Implemented Interfaces:
ImportRDF

public class ImportRawRDF
extends java.lang.Object
implements ImportRDF


Constructor Summary
ImportRawRDF(Environment env, boolean generateRules, boolean addRDFaxioms, boolean addRDFSaxioms)
           
 
Method Summary
static boolean isTypeOK(com.hp.hpl.jena.graph.Node val, com.hp.hpl.jena.graph.Node dt)
          Check if a literal value node is a legal value for the given datatype.
 void parseStatement(com.hp.hpl.jena.rdf.model.Statement statement)
           
 void prepare()
           
 void terminate()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportRawRDF

public ImportRawRDF(Environment env,
                    boolean generateRules,
                    boolean addRDFaxioms,
                    boolean addRDFSaxioms)
Method Detail

prepare

public void prepare()
Specified by:
prepare in interface ImportRDF

parseStatement

public void parseStatement(com.hp.hpl.jena.rdf.model.Statement statement)
                    throws java.lang.Exception
Specified by:
parseStatement in interface ImportRDF
Throws:
java.lang.Exception

isTypeOK

public static boolean isTypeOK(com.hp.hpl.jena.graph.Node val,
                               com.hp.hpl.jena.graph.Node dt)
Check if a literal value node is a legal value for the given datatype.

Parameters:
val - the literal value node
dt - the Node designating a datatype URI

terminate

public void terminate()
Specified by:
terminate in interface ImportRDF