|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Field Summary | |
---|---|
static Assembler |
content
|
static Assembler |
defaultModel
|
static Assembler |
documentManager
|
static Assembler |
fileManager
|
static Assembler |
fileModel
|
static com.hp.hpl.jena.assembler.assemblers.AssemblerGroup |
general
|
static Assembler |
infModel
|
static Assembler |
locationMapper
|
static Assembler |
memoryModel
|
static Assembler |
modelSource
|
static Assembler |
ontModel
|
static Assembler |
ontModelSpec
|
static Assembler |
prefixMapping
|
static Assembler |
reasonerFactory
|
static Assembler |
ruleSet
|
static Assembler |
unionModel
|
Method Summary | |
---|---|
Object |
open(Assembler a,
Resource root)
Answer open( a, root, Mode.DEFAULT ) . |
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. |
Object |
open(Resource root)
Answer open( this, root, Mode.DEFAULT ) . |
Model |
openModel(Resource root)
Answer (Model) open( this, root, Mode.DEFAULT ) , unless
the result cannot be or is not a Model, in which case throw an exception. |
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. |
Field Detail |
---|
static final Assembler defaultModel
static final Assembler memoryModel
static final Assembler infModel
static final Assembler ontModel
static final Assembler reasonerFactory
static final Assembler content
static final Assembler prefixMapping
static final Assembler fileModel
static final Assembler unionModel
static final Assembler ontModelSpec
static final Assembler ruleSet
static final Assembler modelSource
static final Assembler locationMapper
static final Assembler fileManager
static final Assembler documentManager
static final com.hp.hpl.jena.assembler.assemblers.AssemblerGroup general
Method Detail |
---|
Object open(Assembler a, Resource root, Mode mode)
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.
Object open(Assembler a, Resource root)
open( a, root, Mode.DEFAULT )
.
Object open(Resource root)
open( this, root, Mode.DEFAULT )
.
Model openModel(Resource root)
(Model) open( this, root, Mode.DEFAULT )
, unless
the result cannot be or is not a Model, in which case throw an exception.
Model openModel(Resource root, Mode mode)
(Model) open( this, root, mode )
, unless
the result cannot be or is not a Model, in which case throw an exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |