Package | Description |
---|---|
org.apache.jena.assembler |
Modifier and Type | Field and Description |
---|---|
static Mode |
Mode.ANY
Mode that permits existing objects to be reused and new objects to
be created.
|
static Mode |
Mode.CREATE
Mode that demands a new object be created and no existing object
should exist.
|
static Mode |
Mode.DEFAULT
Default mode; existing objects are reused, new objects are not created
|
static Mode |
Mode.REUSE
Mode that requires that objects should already exist; new objects cannot
be created.
|
Modifier and Type | Method and Description |
---|---|
Object |
Assembler.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 |
Assembler.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. |
Licenced under the Apache License, Version 2.0