Package com.hp.hpl.jena.ontology

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


     * @see com.hp.hpl.jena.ontology.OWLSyntaxChecker#getOWLLanguageLevel(com.hp.hpl.jena.ontology.OntModel, java.util.List)
     */
    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
View Full Code Here

TOP

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

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.