java.lang.Object
org.apache.jena.assembler.assemblers.AssemblerBase
- All Implemented Interfaces:
Assembler
- Direct Known Subclasses:
AssemblerGroup,ContentAssembler,DocumentManagerAssembler,ModelAssembler,OntModelSpecAssembler,PrefixMappingAssembler,ReasonerFactoryAssembler,RuleSetAssembler
-
Field Summary
Fields inherited from interface org.apache.jena.assembler.Assembler
content, defaultModel, documentManager, general, infModel, memoryModel, ontModel, ontModelSpec, prefixMapping, reasonerFactory, ruleSet, unionModel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetOptionalClassName(Resource root, Property classProperty) Answer the string described by the value of the unique optionalclassPropertyproperty ofroot, or null if there's no such property.static ResourcegetRequiredResource(Resource root, Property p) final ObjectAnsweropen( a, root, Mode.DEFAULT ).abstract ObjectThe core operation: answer a new object constructed according to the object description hanging fromroot, using the assemblerafor any sub-objects.final ObjectAnsweropen( 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:AssemblerAnsweropen( this, root, Mode.DEFAULT ). -
open
Description copied from interface:AssemblerAnsweropen( a, root, Mode.DEFAULT ). -
open
Description copied from interface:AssemblerThe core operation: answer a new object constructed according to the object description hanging fromroot, using the assemblerafor any sub-objects. Usemodeto 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:AssemblerAnswer(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:AssemblerAnswer(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 optionalclassPropertyproperty 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.
-