Package org.semanticweb.owl.model

Examples of org.semanticweb.owl.model.SetOntologyURI


    public void handle(String id, String value) {
        // Set the base to be the default base + default namespace
        String uri = OBOVocabulary.ONTOLOGY_URI_BASE + "/" + value.toLowerCase();
        getConsumer().setDefaultNamespace(uri + "#");
        applyChange(new SetOntologyURI(getOntology(), URI.create(uri)));
    }
View Full Code Here

TOP

Related Classes of org.semanticweb.owl.model.SetOntologyURI

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.