|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ModelFactory
RDF2Go adapters have toi implement this interface to be able to create Models and ModelSets. Property keys are defined in this interface (Reasoning, Storage).
| Field Summary | |
|---|---|
static java.lang.String |
REASONING
The Property key to indicate the Reasoning state in the properties. |
static java.lang.String |
STORAGE
The Property key to indicate where to store the model or modelset. |
static java.lang.String |
STORAGE_VALUE_MEMORY
|
| Method Summary | |
|---|---|
Model |
createModel()
Create a default in-memory ModelSet with no inferencing. |
Model |
createModel(java.util.Properties p)
Create a Model configured by the given properties. |
Model |
createModel(Reasoning reasoning)
Create a new Model with inferencing. |
Model |
createModel(URI contextURI)
Create a default in-memory ModelSet with no inferencing and the given context URI. |
ModelSet |
createModelSet()
create a default in-memory ModelSet with no inferencing. |
ModelSet |
createModelSet(java.util.Properties p)
Create a ModelSet configured by the given properties. |
ModelSet |
createModelSet(Reasoning reasoning)
Create a default in-memory ModelSet with given inferencing. |
| Field Detail |
|---|
static final java.lang.String REASONING
static final java.lang.String STORAGE
static final java.lang.String STORAGE_VALUE_MEMORY
| Method Detail |
|---|
Model createModel()
throws ModelRuntimeException
ModelRuntimeException - if the adapter could not create the model
Model createModel(URI contextURI)
throws ModelRuntimeException
ModelRuntimeException - if the adapter could not create the model
Model createModel(Reasoning reasoning)
throws ReasoningNotSupportedException,
ModelRuntimeException
reasoning - the type of reasoning that is needed
ModelRuntimeException - if the adapter could not create the Model
ReasoningNotSupportedException - if the passed kind of reasoning is not supported.
Model createModel(java.util.Properties p)
throws ModelRuntimeException
properties - configures the to-be-created Model
ModelRuntimeException - if the adapter could not create the Model
ReasoningNotSupportedException - if the passed kind of reasoning is not supported.
ModelRuntimeException
ModelSet createModelSet()
throws ModelRuntimeException
NotImplementedException - a RuntimeException if this method is not implemented. Should
not happen.
ModelRuntimeException
ModelSet createModelSet(Reasoning reasoning)
throws ReasoningNotSupportedException,
ModelRuntimeException
reasoning - the type of reasoning that is needed
ModelRuntimeException
ReasoningNotSupportedException - if the passed kind of reasoning is not supported.
ModelRuntimeException - if the adapter could not create the model
ModelSet createModelSet(java.util.Properties p)
throws ModelRuntimeException
properties - -
configures the model creation
ModelRuntimeException - if the adapter could not create the Model
ReasoningNotSupportedException - if the passed kind of reasoning is not supported.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||