|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModelSpec
A ModelSpec allows Models to be created.
Method Summary | |
---|---|
Model |
addDescription(Model m,
Resource self)
Add this ModelSpec's description to a given model, under the given resource |
Model |
createModelOver(java.lang.String name)
Answer a Model that fits the specification of this ModelSpec and is built over some underlying model with the given name. |
Model |
getDescription()
Answer an RDF description of this ModelSpec using the JenaModelSpec vocabulary. |
Model |
getDescription(Resource root)
Answer an RDF description of this ModelSpec using the JenaModelSpec vocabulary, with the given Resource as root. |
Model |
openModel()
Open the "default" model. |
Model |
openModel(java.lang.String name)
A specialisation of ModelSource::openModel( String ). |
Methods inherited from interface com.hp.hpl.jena.rdf.model.ModelSource |
---|
createDefaultModel, createFreshModel, createModel, getModel, openModelIfPresent |
Method Detail |
---|
Model createModelOver(java.lang.String name)
NOTE: this method is likely to become deprecated, and then deleted, absent user pressure to retain it.
Model openModel(java.lang.String name)
openModel
in interface ModelSource
ModelSource.openModel(java.lang.String)
Model openModel()
Model getDescription()
Model getDescription(Resource root)
root
- the resource to be used for all the top-level properties
Model addDescription(Model m, Resource self)
m
- the model to which the description is to be addedself
- the resource to which the properties are to be added
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |