com.hp.hpl.jena.rdf.model
Class ModelSpecCreatorRegistry

java.lang.Object
  extended by 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

Field Summary
static ModelSpecCreatorRegistry instance
           
 
Constructor Summary
ModelSpecCreatorRegistry()
           
ModelSpecCreatorRegistry(java.lang.String name)
           
ModelSpecCreatorRegistry(java.lang.String name, boolean ignoreMissingModel)
           
 
Method Summary
static ModelSpecCreator findCreator(Resource type)
           
 ModelSpecCreator getCreator(Resource type)
           
static void register(Resource type, ModelSpecCreator c)
           
 void registerCreator(Resource type, ModelSpecCreator c)
           
static ModelSpecCreatorRegistry registryWith(Resource type, ModelSpecCreator c)
          Answer a registry with a single entry, mapping type to c.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final ModelSpecCreatorRegistry instance
Constructor Detail

ModelSpecCreatorRegistry

public ModelSpecCreatorRegistry()

ModelSpecCreatorRegistry

public ModelSpecCreatorRegistry(java.lang.String name)

ModelSpecCreatorRegistry

public ModelSpecCreatorRegistry(java.lang.String name,
                                boolean ignoreMissingModel)
Method Detail

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