Package org.apache.jena.assembler
Interface Assembler
- All Known Implementing Classes:
AssemblerBase
,AssemblerGroup
,AssemblerGroup.ExpandingAssemblerGroup
,ContentAssembler
,DefaultModelAssembler
,DocumentManagerAssembler
,FileManagerAssembler
,InfModelAssembler
,LocationMapperAssembler
,MemoryModelAssembler
,ModelAssembler
,ModelSourceAssembler
,NamedModelAssembler
,OntModelAssembler
,OntModelSpecAssembler
,PrefixMappingAssembler
,ReasonerFactoryAssembler
,RuleSetAssembler
,UnionModelAssembler
public interface Assembler
An Assembler creates objects from their RDF descriptions. The root motivation
is to create Models, but other objects are required as sub-components of
those Models, so a general mechanism is available.
- API Note:
- Methods accepting
Model
as a parameter treat appropriate values ofModel
as passing down to sub-assemblers a requirement to share for certain setups that work as tightly coordinated groups. It's a hint, not an instruction.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Assembler
static final Assembler
static final Assembler
static final Assembler
static final AssemblerGroup
static final Assembler
static final Assembler
static final Assembler
static final Assembler
static final Assembler
static final Assembler
static final Assembler
static final Assembler
static final Assembler
static final Assembler
-
Method Summary
Modifier and TypeMethodDescriptionAnsweropen( a, root, Mode.DEFAULT )
.The core operation: answer a new object constructed according to the object description hanging fromroot
, using the assemblera
for any sub-objects.Answeropen( this, root, Mode.DEFAULT )
.Answer(Model) open( this, root, Mode.DEFAULT )
, unless the result cannot be or is not a Model, in which case throw an exception.Answer(Model) open( this, root, mode )
, unless the result cannot be or is not a Model, in which case throw an exception.
-
Field Details
-
defaultModel
-
memoryModel
-
infModel
-
ontModel
-
reasonerFactory
-
-
prefixMapping
-
unionModel
-
ontModelSpec
-
ruleSet
-
modelSource
-
locationMapper
-
fileManager
-
documentManager
-
general
-
-
Method Details
-
open
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. -
open
Answeropen( a, root, Mode.DEFAULT )
. -
open
Answeropen( this, root, Mode.DEFAULT )
. -
openModel
Answer(Model) open( this, root, Mode.DEFAULT )
, unless the result cannot be or is not a Model, in which case throw an exception. -
openModel
Answer(Model) open( this, root, mode )
, unless the result cannot be or is not a Model, in which case throw an exception.
-