Search in sources :

Example 1 with ModelSourceAssembler

use of org.apache.jena.assembler.assemblers.ModelSourceAssembler in project jena by apache.

the class TestModelSourceAssembler method testMemModelMakerSource.

public void testMemModelMakerSource() {
    Assembler a = new ModelSourceAssembler();
    ModelGetter g = (ModelGetter) a.open(resourceInModel("mg rdf:type ja:ModelSource"));
    assertInstanceOf(MemoryModelGetter.class, g);
}
Also used : ModelSourceAssembler(org.apache.jena.assembler.assemblers.ModelSourceAssembler) ModelGetter(org.apache.jena.rdf.model.ModelGetter) MemoryModelGetter(org.apache.jena.rdf.model.impl.MemoryModelGetter) Assembler(org.apache.jena.assembler.Assembler) ModelSourceAssembler(org.apache.jena.assembler.assemblers.ModelSourceAssembler)

Aggregations

Assembler (org.apache.jena.assembler.Assembler)1 ModelSourceAssembler (org.apache.jena.assembler.assemblers.ModelSourceAssembler)1 ModelGetter (org.apache.jena.rdf.model.ModelGetter)1 MemoryModelGetter (org.apache.jena.rdf.model.impl.MemoryModelGetter)1