Class OntModelSpecAssembler
- java.lang.Object
-
- org.apache.jena.assembler.assemblers.AssemblerBase
-
- org.apache.jena.assembler.assemblers.OntModelSpecAssembler
-
- All Implemented Interfaces:
Assembler
public class OntModelSpecAssembler extends AssemblerBase implements Assembler
An OntModelSpecAssembler constructs OntModelSpec's from their RDF description. The description allows the document manager, the reasoner factory, the ont language, and the import model getter to be specified: the default values will be those of OWL_MEM_RDFS_INF, unless the root is ja:SPOO for some constant SPOO of OntModelSpec, in which case the defaults are taken from there.
-
-
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 OntModelSpecAssembler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OntModelSpec
getOntModelSpecField(java.lang.String name)
Answer the OntModelSpec in the OntModelSpec class with the given member name, or null if there isn't one.java.lang.Object
open(Assembler a, Resource root, Mode irrelevant)
The core operation: answer a new object constructed according to the object description hanging fromroot
, using the assemblera
for any sub-objects.-
Methods inherited from class org.apache.jena.assembler.assemblers.AssemblerBase
getOptionalClassName, getRequiredResource, open, open, openModel, openModel
-
-
-
-
Method Detail
-
open
public java.lang.Object open(Assembler a, Resource root, Mode irrelevant)
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
-
getOntModelSpecField
public static OntModelSpec getOntModelSpecField(java.lang.String name)
Answer the OntModelSpec in the OntModelSpec class with the given member name, or null if there isn't one.
-
-