com.hp.hpl.jena.rdf.model
Class ModelSpecCreatorRegistry
java.lang.Object
com.hp.hpl.jena.rdf.model.ModelSpecCreatorRegistry
public class ModelSpecCreatorRegistry
- extends java.lang.Object
The registry of creators appropriate for different ModelSpec types; it maps RDF types
(subtypes of jms:ModelSpec) to ModelSpecCreators which, when requested, will
deliver ModelSpecs.
- Author:
- hedgehog
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static final ModelSpecCreatorRegistry instance
ModelSpecCreatorRegistry
public ModelSpecCreatorRegistry()
ModelSpecCreatorRegistry
public ModelSpecCreatorRegistry(java.lang.String name)
ModelSpecCreatorRegistry
public ModelSpecCreatorRegistry(java.lang.String name,
boolean ignoreMissingModel)
registryWith
public static ModelSpecCreatorRegistry registryWith(Resource type,
ModelSpecCreator c)
- Answer a registry with a single entry, mapping
type
to c
.
getCreator
public ModelSpecCreator getCreator(Resource type)
findCreator
public static ModelSpecCreator findCreator(Resource type)
registerCreator
public void registerCreator(Resource type,
ModelSpecCreator c)
register
public static void register(Resource type,
ModelSpecCreator c)
Copyright © 2000, 2001, 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP