java.lang.Object
org.apache.jena.rdf.model.impl.MemoryModelGetter
- All Implemented Interfaces:
ModelGetter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAnswer a Model whose content is that associated with the URL, if possible, and otherwise answer null.getModel
(String URL, ModelReader loadIfAbsent) Answer a model appropriate forURL
, If none is to hand, and it's possible to create one, create it and load it usingloadIfAbsent
.
-
Constructor Details
-
MemoryModelGetter
public MemoryModelGetter()
-
-
Method Details
-
getModel
Description copied from interface:ModelGetter
Answer a Model whose content is that associated with the URL, if possible, and otherwise answer null.- Specified by:
getModel
in interfaceModelGetter
-
getModel
Description copied from interface:ModelGetter
Answer a model appropriate forURL
, If none is to hand, and it's possible to create one, create it and load it usingloadIfAbsent
. Otherwise throw CannotCreateException. This method never returns null.- Specified by:
getModel
in interfaceModelGetter
-