Package org.obolibrary.obo2owl

Examples of org.obolibrary.obo2owl.OWLAPIOwl2Obo


     */
    public static void render(@Nonnull OWLOntology ontology,
            @Nonnull Writer writer, OWLDocumentFormat format)
            throws OWLOntologyStorageException {
        try {
            OWLAPIOwl2Obo translator = new OWLAPIOwl2Obo(
                    ontology.getOWLOntologyManager());
            final OBODoc result = translator.convert(ontology);
            boolean hasImports = ontology.getImports().isEmpty() == false;
            NameProvider nameProvider;
            if (hasImports) {
                // if the ontology has imports
                // use it as secondary lookup for labels
View Full Code Here

TOP

Related Classes of org.obolibrary.obo2owl.OWLAPIOwl2Obo

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.