org.ontoware.rdf2go.impl
Class AbstractModelFactory

java.lang.Object
  extended by org.ontoware.rdf2go.impl.AbstractModelFactory
All Implemented Interfaces:
ModelFactory

public abstract class AbstractModelFactory
extends java.lang.Object
implements ModelFactory

Implmentors musts implement Model getModel(Properties p) and ModelSet getModelSet(Properties p)

Author:
voelkel

Field Summary
 
Fields inherited from interface org.ontoware.rdf2go.ModelFactory
REASONING, STORAGE, STORAGE_VALUE_MEMORY
 
Constructor Summary
AbstractModelFactory()
           
 
Method Summary
 Model createModel()
           
 Model createModel(Reasoning reasoning)
           
 ModelSet createModelSet()
           
 ModelSet createModelSet(Reasoning reasoning)
           
static Reasoning getReasoning(java.util.Properties p)
          Utility function to help using the properties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ontoware.rdf2go.ModelFactory
createModel, createModel, createModelSet
 

Constructor Detail

AbstractModelFactory

public AbstractModelFactory()
Method Detail

createModel

public Model createModel()
                  throws ModelRuntimeException
Specified by:
createModel in interface ModelFactory
Throws:
ModelRuntimeException

createModel

public Model createModel(Reasoning reasoning)
                  throws ModelRuntimeException,
                         ReasoningNotSupportedException
Specified by:
createModel in interface ModelFactory
Throws:
ModelRuntimeException
ReasoningNotSupportedException

createModelSet

public ModelSet createModelSet()
                        throws ModelRuntimeException
Specified by:
createModelSet in interface ModelFactory
Throws:
ModelRuntimeException

createModelSet

public ModelSet createModelSet(Reasoning reasoning)
                        throws ModelRuntimeException,
                               ReasoningNotSupportedException
Specified by:
createModelSet in interface ModelFactory
Throws:
ModelRuntimeException
ReasoningNotSupportedException

getReasoning

public static Reasoning getReasoning(java.util.Properties p)
                              throws ModelRuntimeException
Utility function to help using the properties

Throws:
ModelRuntimeException


Copyright © 2005-2008 FZI - Forschungszentrum Informatik | Karlsruhe | Germany. All Rights Reserved.