public class ImportManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static ImportManager |
instance
A shared instance of ImportManage, used as a default by several other
assembler methods.
|
| Constructor and Description |
|---|
ImportManager() |
| Modifier and Type | Method and Description |
|---|---|
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. |
public static final ImportManager instance
public void clear()
public Model withImports(Model model)
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.public Model withImports(FileManager fm, Model model)
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