|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.joseki.server.ModelSet
A ModelSet is a collection of RDF models to be made available, together with the specific configuration for that set. Models themselves can have specific, custom functionalty.
Constructor Summary | |
ModelSet()
Create an empty ModelSet |
Method Summary | |
void |
addModel(java.lang.String sourceURI,
com.hp.hpl.jena.rdf.model.Model model)
Add a Jena model to the ModelSet. |
void |
addModel(java.lang.String sourceURI,
ModelSource aModel)
Add an ModelSource to the ModelSet. |
ModelSource |
findModel(java.lang.String sourceURI)
|
ModelSet |
load(java.lang.String configFile)
Merge a configuration file into a model set. |
void |
removeModel(java.lang.String sourceURI)
Remove a model from the ModelSet. |
int |
size()
|
java.util.Iterator |
sourceURIs()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ModelSet()
Method Detail |
public ModelSet load(java.lang.String configFile) throws java.io.FileNotFoundException, com.hp.hpl.jena.rdf.model.RDFException
java.io.FileNotFoundException
com.hp.hpl.jena.rdf.model.RDFException
public ModelSource findModel(java.lang.String sourceURI)
public void addModel(java.lang.String sourceURI, ModelSource aModel)
sourceURI
- The external URI that the model will appear underaModel
- The ModelSource.ModelSource
public void addModel(java.lang.String sourceURI, com.hp.hpl.jena.rdf.model.Model model)
sourceURI
- The external URI that the model will appear undermodel
- The RDF model.ModelSource
public void removeModel(java.lang.String sourceURI)
sourceURI
- The external URI that the model currently appreas under.public int size()
public java.util.Iterator sourceURIs()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |