Package edu.stanford.bmir.protege.web.shared.obo

Examples of edu.stanford.bmir.protege.web.shared.obo.OBONamespace


        Set<OBONamespace> namespaces = new HashSet<OBONamespace>();
        for(OWLAnnotation anno : project.getRootOntology().getAnnotations()) {
            if(isNamespaceAnnotation(anno)) {
                if(anno.getValue() instanceof OWLLiteral) {
                    OWLLiteral lit = (OWLLiteral) anno.getValue();
                    namespaces.add(new OBONamespace(lit.getLiteral()));
                }
            }
        }
        for(OWLClass cls : project.getRootOntology().getClassesInSignature(true)) {
            for(OWLAnnotationAssertionAxiom ax : cls.getAnnotationAssertionAxioms(project.getRootOntology())) {
                if(isNamespaceAnnotationProperty(ax)) {
                    if(ax.getValue() instanceof OWLLiteral) {
                        OWLLiteral lit = (OWLLiteral) ax.getValue();
                        namespaces.add(new OBONamespace(lit.getLiteral()));
                    }
                }
            }
        }
        try {
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.shared.obo.OBONamespace

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.