org.semwebcentral.sweetrules.sweetjena
Class SweetJenaEngine

java.lang.Object
  extended byorg.semwebcentral.sweetrules.infrastructure.AbstractSweetInferenceEngine
      extended byorg.semwebcentral.sweetrules.sweetjena.SweetJenaEngine
All Implemented Interfaces:
ISweetInferenceEngine

public class SweetJenaEngine
extends AbstractSweetInferenceEngine

Implementation of the Jena engine object

Author:
Mike Dean

Field Summary
(package private)  com.hp.hpl.jena.rdf.model.Model data
           
(package private)  com.hp.hpl.jena.rdf.model.InfModel infModel
           
private static SweetJenaEngine jenaEngine
           
(package private)  java.util.List rules
           
 
Fields inherited from class org.semwebcentral.sweetrules.infrastructure.AbstractSweetInferenceEngine
engineDescriptor
 
Constructor Summary
private SweetJenaEngine()
          Constructor for the Jena engine
 
Method Summary
static SweetJenaEngine getInstance()
          Get method to access the singleton Jena engine
 
Methods inherited from class org.semwebcentral.sweetrules.infrastructure.AbstractSweetInferenceEngine
getIEDescriptor, runTask, setIEDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rules

java.util.List rules

data

com.hp.hpl.jena.rdf.model.Model data

infModel

com.hp.hpl.jena.rdf.model.InfModel infModel

jenaEngine

private static SweetJenaEngine jenaEngine
Constructor Detail

SweetJenaEngine

private SweetJenaEngine()
                 throws SweetInferenceEngineException
Constructor for the Jena engine

Method Detail

getInstance

public static SweetJenaEngine getInstance()
                                   throws SweetInferenceEngineException
Get method to access the singleton Jena engine

Returns:
Bootstrapped jenaEngine (singleton) instance
Throws:
SweetInferenceEngineException