| com.hp.hpl.jena.assembler.Assembler
All known Subclasses: com.hp.hpl.jena.assembler.assemblers.ModelAssembler, com.hp.hpl.jena.assembler.assemblers.RDBModelAssembler, com.hp.hpl.jena.assembler.assemblers.DefaultModelAssembler, com.hp.hpl.jena.assembler.assemblers.MemoryModelAssembler, com.hp.hpl.jena.assembler.assemblers.RuleSetAssembler, com.hp.hpl.jena.assembler.assemblers.AssemblerBase, com.hp.hpl.jena.assembler.assemblers.ContentAssembler, com.hp.hpl.jena.assembler.assemblers.OntModelSpecAssembler, com.hp.hpl.jena.assembler.assemblers.OntModelAssembler, com.hp.hpl.jena.assembler.assemblers.ConnectionAssembler, com.hp.hpl.jena.assembler.assemblers.ReasonerFactoryAssembler, com.hp.hpl.jena.assembler.assemblers.FileModelAssembler, com.hp.hpl.jena.assembler.assemblers.UnionModelAssembler, com.hp.hpl.jena.assembler.assemblers.PrefixMappingAssembler, com.hp.hpl.jena.assembler.assemblers.AssemblerGroup,
Assembler | public interface Assembler (Code) | | 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.
author: kers |
Method Summary | |
public 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. | public Object | open(Assembler a, Resource root) Answer open( a, root, Mode.DEFAULT ) . | public Object | open(Resource root) Answer open( this, root, Mode.DEFAULT ) . | public 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. | public 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. |
open | public Object open(Assembler a, Resource root, Mode mode)(Code) | | The core operation: answer a new object constructed according to the
object description hanging from 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.
|
openModel | public Model openModel(Resource root)(Code) | | Answer (Model) open( this, root, Mode.DEFAULT ) , unless
the result cannot be or is not a Model, in which case throw an exception.
|
openModel | public Model openModel(Resource root, Mode mode)(Code) | | Answer (Model) open( this, root, mode ) , unless
the result cannot be or is not a Model, in which case throw an exception.
|
|
|