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, openModel
public Object open(Assembler a, Resource root, Mode mode)
Assembler
root
, 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 Assembler
open
in class AssemblerBase
public 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 Assembler
openModel
in class AssemblerBase
Licenced under the Apache License, Version 2.0