java.lang.Object
org.apache.jena.assembler.assemblers.AssemblerBase
- All Implemented Interfaces:
Assembler
- Direct Known Subclasses:
AssemblerGroup
,ContentAssembler
,DocumentManagerAssembler
,FileManagerAssembler
,LocationMapperAssembler
,ModelAssembler
,ModelSourceAssembler
,OntModelSpecAssembler
,PrefixMappingAssembler
,ReasonerFactoryAssembler
,RuleSetAssembler
-
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 String
getOptionalClassName
(Resource root, Property classProperty) Answer the string described by the value of the unique optionalclassProperty
property ofroot
, or null if there's no such property.static Resource
getRequiredResource
(Resource root, Property p) final Object
Answeropen( a, root, Mode.DEFAULT )
.abstract Object
The core operation: answer a new object constructed according to the object description hanging fromroot
, using the assemblera
for any sub-objects.final Object
Answeropen( this, root, Mode.DEFAULT )
.Answer(Model) open( this, root, Mode.DEFAULT )
, unless the result cannot be or is not a Model, in which case throw an exception.Answer(Model) open( this, root, mode )
, unless the result cannot be or is not a Model, in which case throw an exception.
-
Constructor Details
-
AssemblerBase
public AssemblerBase()
-
-
Method Details
-
open
Description copied from interface:Assembler
Answeropen( this, root, Mode.DEFAULT )
. -
open
Description copied from interface:Assembler
Answeropen( a, root, Mode.DEFAULT )
. -
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. -
openModel
Description copied from interface:Assembler
Answer(Model) open( this, root, mode )
, unless the result cannot be or is not a Model, in which case throw an exception. -
openModel
Description copied from interface:Assembler
Answer(Model) open( this, root, Mode.DEFAULT )
, unless the result cannot be or is not a Model, in which case throw an exception. -
getRequiredResource
-
getOptionalClassName
Answer the string described by the value of the unique optionalclassProperty
property ofroot
, or null if there's no such property. The value may be a URI, in which case it must be a java: URI with content the class name; or it may be a literal, in which case its lexical form is its class name; otherwise, BOOM.
-