Package com.hp.hpl.jena.ontology

Examples of com.hp.hpl.jena.ontology.OntologyException


    public Resource getOWLLanguageLevel(OntModel owlModel, List problems)
            throws OntologyException {
// Code from OntModelImpl.getOWLLanguageLevel version 2.2 beta
        Profile oProf = owlModel.getProfile();
        if (!(oProf instanceof OWLProfile)) {
            throw new OntologyException( "Cannnot perform OWL language level test on non OWL model" );
        }
       
        // this process is made complicated by the design of the syntax checker, which uses
        // two different grammars for Lite and DL checking.  in some circumstances, we have
        // to run both kinds of check
View Full Code Here

TOP

Related Classes of com.hp.hpl.jena.ontology.OntologyException

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.