Package org.semanticweb.owlapi

Examples of org.semanticweb.owlapi.OWLAPIConfigProvider


    @Nonnull
    @Override
    public Set<OntologyAxiomPair> parse(String expression) {
        ManchesterOWLSyntaxParser parser = new ManchesterOWLSyntaxParserImpl(
                new OWLAPIConfigProvider(), dataFactory);
        parser.setOWLEntityChecker(checker);
        parser.setStringToParse(expression);
        parser.setDefaultOntology(verifyNotNull(defaultOntology));
        parser.setOWLOntologyChecker(verifyNotNull(ontologyChecker));
        return parser.parseFrames();
View Full Code Here


    }

    @Override
    public OWLAxiom parse(String expression) {
        ManchesterOWLSyntaxParser parser = new ManchesterOWLSyntaxParserImpl(
                new OWLAPIConfigProvider(), dataFactory);
        parser.setOWLEntityChecker(checker);
        parser.setStringToParse(expression);
        return parser.parseAxiom();
    }
View Full Code Here

                    lineCount++;
                }
                String s = sb.toString();
                assert s != null;
                ManchesterOWLSyntaxParser parser = new ManchesterOWLSyntaxParserImpl(
                        new OWLAPIConfigProvider(), ontology
                                .getOWLOntologyManager().getOWLDataFactory());
                parser.setOntologyLoaderConfiguration(configuration);
                parser.setStringToParse(s);
                format = parser.parseOntology(ontology);
            } finally {
View Full Code Here

    }

    @Override
    public OWLClassExpression parse(String expression) {
        ManchesterOWLSyntaxParser parser = new ManchesterOWLSyntaxParserImpl(
                new OWLAPIConfigProvider(), dataFactory);
        parser.setOWLEntityChecker(checker);
        parser.setStringToParse(expression);
        return parser.parseClassExpression();
    }
View Full Code Here

    @Nonnull
    @Override
    public Set<OntologyAxiomPair> parse(String expression) {
        ManchesterOWLSyntaxParser parser = new ManchesterOWLSyntaxParserImpl(
                new OWLAPIConfigProvider(), dataFactory);
        parser.setOWLEntityChecker(checker);
        parser.setStringToParse(expression);
        return parser.parseClassFrameEOF();
    }
View Full Code Here

        if (disposed.get()) {
            throw new OWLRuntimeException(
                    "Illegal State: Trying to use an disposed instance.");
        }
        ManchesterOWLSyntaxParser parser = new ManchesterOWLSyntaxParserImpl(
                new OWLAPIConfigProvider(), dataFactory);
        parser.setStringToParse(expression);
        parser.setOWLEntityChecker(entityChecker);
        LOG.info("parsing: {}", expression);
        return parser;
    }
View Full Code Here

TOP

Related Classes of org.semanticweb.owlapi.OWLAPIConfigProvider

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.