Class ModelAssembler
- java.lang.Object
-
- org.apache.jena.assembler.assemblers.AssemblerBase
-
- org.apache.jena.assembler.assemblers.ModelAssembler
-
- All Implemented Interfaces:
Assembler
- Direct Known Subclasses:
DefaultModelAssembler
,InfModelAssembler
,MemoryModelAssembler
,NamedModelAssembler
,UnionModelAssembler
public abstract class ModelAssembler extends AssemblerBase implements Assembler
-
-
Field Summary
-
Fields inherited from interface org.apache.jena.assembler.Assembler
content, defaultModel, documentManager, fileManager, general, infModel, locationMapper, memoryModel, modelSource, ontModel, ontModelSpec, prefixMapping, reasonerFactory, ruleSet, unionModel
-
-
Constructor Summary
Constructors Constructor Description ModelAssembler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
open(Assembler a, Resource root, Mode mode)
The core operation: answer a new object constructed according to the object description hanging fromroot
, using the assemblera
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.-
Methods inherited from class org.apache.jena.assembler.assemblers.AssemblerBase
getOptionalClassName, getRequiredResource, open, open, openModel
-
-
-
-
Method Detail
-
open
public java.lang.Object open(Assembler a, Resource root, Mode mode)
Description copied from interface:Assembler
The core operation: answer a new object constructed according to the object description hanging fromroot
, using the assemblera
for any sub-objects. Usemode
to decide if persistent objects are to be re-used or created; this mode is passed down to all sub-object construction.- Specified by:
open
in interfaceAssembler
- Specified by:
open
in classAssemblerBase
-
openModel
public Model openModel(Resource root, Mode mode)
Description copied from interface:Assembler
Answer(Model) open( this, root, mode )
, unless the result cannot be or is not a Model, in which case throw an exception.- Specified by:
openModel
in interfaceAssembler
- Overrides:
openModel
in classAssemblerBase
-
-