com.hp.hpl.jena.rdf.model
Interface ModelSpecCreator
public interface ModelSpecCreator
ModelSpecCreator defines the interface for the creation of ModelSpecs from
descriptions. See ModelSpecCreatorRegistry for their registration.
- Author:
- hedgehog
Method Summary |
ModelSpec |
create(Resource root,
Model desc)
create [or find] a ModelSpec that is appropriate for the description rooted at the
given root resource, which must have rdf:type JenaModelSpec:ModelSpec. |
create
ModelSpec create(Resource root,
Model desc)
- create [or find] a ModelSpec that is appropriate for the description rooted at the
given root resource, which must have rdf:type JenaModelSpec:ModelSpec.
- Parameters:
root
- the root of the specificationdesc
- a description who's ModelSpec root is to be created
- Returns:
- a ModelSpec according to that description
Copyright © 2000, 2001, 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP