| |
|
| org.ontoware.rdf2go.ModelFactory
All known Subclasses: org.ontoware.rdf2go.impl.jena24.ModelFactoryImpl, org.ontoware.rdf2go.impl.AbstractModelFactory,
ModelFactory | public interface ModelFactory (Code) | | RDF2Go adapters have toi implement this interface to be able to create Models
and ModelSets.
Property keys are defined in this interface (Reasoning, Storage).
author: voelkel |
REASONING | final static String REASONING(Code) | | The Property key to indicate the Reasoning state in the properties. Legal
values are:
|
STORAGE | final static String STORAGE(Code) | | The Property key to indicate where to store the model or modelset. Legal
values are:
- MEMORY (default, stores in-memory)
- any absolute or relative path, in Java syntax ("/")
|
STORAGE_VALUE_MEMORY | final static String STORAGE_VALUE_MEMORY(Code) | | |
createModel | Model createModel(URI contextURI) throws ModelRuntimeException(Code) | | Create a default in-memory ModelSet with no inferencing and the given
context URI. All statements added to this model will have this context as
the context of each statement.
a Model implementation bound to the given context URI. throws: ModelRuntimeException - if the adapter could not create the model |
createModelSet | ModelSet createModelSet() throws ModelRuntimeException(Code) | | create a default in-memory ModelSet with no inferencing.
a ModelSet implementation. throws: NotImplementedException - a RuntimeException if this method is not implemented. Shouldnot happen. |
|
|
|