Module org.apache.jena.core
Class OntModelSpecAssembler
java.lang.Object
org.apache.jena.assembler.assemblers.AssemblerBase
org.apache.jena.assembler.assemblers.OntModelSpecAssembler
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic OntModelSpec
getOntModelSpecField
(String name) Answer the OntModelSpec in the OntModelSpec class with the given member name, or null if there isn't one.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
-
Constructor Details
-
OntModelSpecAssembler
public OntModelSpecAssembler()
-
-
Method Details
-
open
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
Answer the OntModelSpec in the OntModelSpec class with the given member name, or null if there isn't one.
-