public abstract class AbstractModelFactory extends Object implements ModelFactory
REASONING, STORAGE, STORAGE_VALUE_MEMORY
Constructor and Description |
---|
AbstractModelFactory() |
Modifier and Type | Method and Description |
---|---|
Model |
createModel()
Create a default in-memory ModelSet with no inferencing.
|
Model |
createModel(Reasoning reasoning)
Create a new Model with inferencing.
|
ModelSet |
createModelSet()
create a default in-memory ModelSet with no inferencing.
|
ModelSet |
createModelSet(Reasoning reasoning)
Create a default in-memory ModelSet with given inferencing.
|
static Reasoning |
getReasoning(Properties p)
Utility function to help using the properties
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createModel, createModel, createModelSet, sparqlSelect
public Model createModel() throws ModelRuntimeException
ModelFactory
createModel
in interface ModelFactory
ModelRuntimeException
- if the adapter could not create the modelpublic Model createModel(Reasoning reasoning) throws ModelRuntimeException, ReasoningNotSupportedException
ModelFactory
createModel
in interface ModelFactory
reasoning
- the type of reasoning that is neededModelRuntimeException
- if the adapter could not create the ModelReasoningNotSupportedException
- if the passed kind of reasoning is
not supported.public ModelSet createModelSet() throws ModelRuntimeException
ModelFactory
createModelSet
in interface ModelFactory
ModelRuntimeException
public ModelSet createModelSet(Reasoning reasoning) throws ModelRuntimeException, ReasoningNotSupportedException
ModelFactory
createModelSet
in interface ModelFactory
reasoning
- the type of reasoning that is neededModelRuntimeException
ReasoningNotSupportedException
- if the passed kind of reasoning is
not supported.public static Reasoning getReasoning(Properties p) throws ModelRuntimeException
ModelRuntimeException
Copyright © 2005–2017 IT-Consulting Dr. Max V?lkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.