Package uk.ac.manchester.cs.owl.owlapi

Examples of uk.ac.manchester.cs.owl.owlapi.OWLOntologyBuilderImpl


public abstract class AbstractRendererAndParser extends TestBase {

    @Before
    public void setUpManager() {
        m.getOntologyFactories().add(
                new ParsableOWLOntologyFactory(new OWLOntologyBuilderImpl()));
        m.getOntologyStorers().add(new RDFXMLStorerFactory());
    }
View Full Code Here


    private OWLOntologyManager manager;

    @Before
    public void setUp() {
        manager = new OWLOntologyManagerImpl(new OWLDataFactoryImpl());
        OWLOntologyBuilderImpl builder = new OWLOntologyBuilderImpl();
        manager.getOntologyFactories().add(
                new EmptyInMemOWLOntologyFactory(builder));
        manager.getIRIMappers().add(new NonMappingOntologyIRIMapper());
    }
View Full Code Here

    public void setUp() {
        // Use the reference implementation
        man = new OWLOntologyManagerImpl(new OWLDataFactoryImpl());
        man.getOntologyStorers().add(new RDFXMLStorerFactory());
        ParsableOWLOntologyFactory factory = new ParsableOWLOntologyFactory(
                new OWLOntologyBuilderImpl());
        man.getOntologyFactories().add(factory);
    }
View Full Code Here

@SuppressWarnings("javadoc")
public class DisjointsTestCase extends TestBase {

    @Before
    public void setUpManager() {
        OWLOntologyBuilderImpl builder = new OWLOntologyBuilderImpl();
        m.getOntologyFactories().add(new EmptyInMemOWLOntologyFactory(builder),
                new ParsableOWLOntologyFactory(builder));
    }
View Full Code Here

    private final OWLOntologyManager man = new OWLOntologyManagerImpl(
            new OWLDataFactoryImpl());

    @Before
    public void setUp() {
        OWLOntologyBuilderImpl builder = new OWLOntologyBuilderImpl();
        man.getOntologyFactories().add(
                new EmptyInMemOWLOntologyFactory(builder),
                new ParsableOWLOntologyFactory(builder));
        man.getOntologyStorers().add(new RDFXMLStorerFactory());
        man.getOntologyParsers().add(new RDFXMLParserFactory());
View Full Code Here

    @Nonnull
    private OWLOntologyManager getManager() {
        OWLOntologyManager instance = new OWLOntologyManagerImpl(df);
        instance.setOntologyFactories(Collections
                .singleton((OWLOntologyFactory) new EmptyInMemOWLOntologyFactory(
                        new OWLOntologyBuilderImpl())));
        return instance;
    }
View Full Code Here

TOP

Related Classes of uk.ac.manchester.cs.owl.owlapi.OWLOntologyBuilderImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.