public abstract class ModelAssembler extends AssemblerBase implements Assembler
content, defaultModel, documentManager, fileManager, general, infModel, locationMapper, memoryModel, modelSource, ontModel, ontModelSpec, prefixMapping, reasonerFactory, ruleSet, unionModel| Constructor and Description |
|---|
ModelAssembler() |
| Modifier and Type | Method and Description |
|---|---|
Object |
open(Assembler a,
Resource root,
Mode mode)
The core operation: answer a new object constructed according to the
object description hanging from
root, using the assembler
a for any sub-objects. |
Model |
openModel(Resource root,
Mode mode)
Answer
(Model) open( this, root, mode ), unless
the result cannot be or is not a Model, in which case throw an exception. |
getOptionalClassName, getRequiredResource, open, open, openModelpublic Object open(Assembler a, Resource root, Mode mode)
Assemblerroot, using the assembler
a for any sub-objects. Use mode to decide
if persistent objects are to be re-used or created; this mode is passed down
to all sub-object construction.open in interface Assembleropen in class AssemblerBasepublic Model openModel(Resource root, Mode mode)
Assembler(Model) open( this, root, mode ), unless
the result cannot be or is not a Model, in which case throw an exception.openModel in interface AssembleropenModel in class AssemblerBaseLicenced under the Apache License, Version 2.0