com.hp.hpl.jena.assembler
Class ImportManager
java.lang.Object
com.hp.hpl.jena.assembler.ImportManager
public class ImportManager
- extends Object
Field Summary |
static ImportManager |
instance
A shared instance of ImportManage, used as a default by several other
assembler methods. |
Method Summary |
void |
clear()
Clear this ImportManager's cache. |
Model |
withImports(FileManager fm,
Model model)
Answer model if it has no imports, or a union model with
model as its base and its imported models as the other
components. |
Model |
withImports(Model model)
Answer model if it has no imports, or a union model with
model as its base and its imported models as the other
components. |
instance
public static final ImportManager instance
- A shared instance of ImportManage, used as a default by several other
assembler methods.
ImportManager
public ImportManager()
clear
public void clear()
- Clear this ImportManager's cache.
withImports
public Model withImports(Model model)
- Answer
model
if it has no imports, or a union model with
model
as its base and its imported models as the other
components. The default file manager is used to load the models.
withImports
public Model withImports(FileManager fm,
Model model)
- Answer
model
if it has no imports, or a union model with
model
as its base and its imported models as the other
components. The file manager fm
is used to load the
imported models.
Licenced under the Apache License, Version 2.0