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 JMS:ModelSpec.
 

Method Detail

create

public 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 JMS:ModelSpec.

Parameters:
root - the root of the specification
desc - a description who's ModelSpec root is to be created
Returns:
a ModelSpec according to that description


Copyright © 2000-2003 Hewlett-Packard. All Rights Reserved.