|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.rdf.model.ModelMakerCreatorRegistry
public class ModelMakerCreatorRegistry
A registry of ways of creating ModelMakers, keyed by their JenaModelSpec type. A ModelMakerCreator registered by type here will be used by a ModelSpec description which needs a ModelMaker and supplies a registered type for that maker.
The Registry is pre-loaded with the three standard ModelMakerCreator's, for Mem, File, and RDB ModelMakers.
Method Summary | |
---|---|
static ModelMakerCreator |
findCreator(Resource type)
Answer the Creator which has been registred with the given type, or null if there's no such registered Creator |
static void |
register(Resource type,
ModelMakerCreator mmc)
Register the given ModelMakerCreator under the given JenaModelSpec type. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ModelMakerCreator findCreator(Resource type)
type
- the JenaModelSpec type of the Creator
public static void register(Resource type, ModelMakerCreator mmc)
type
- the type to register it asmmc
- the Creator to register
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |