Package org.coode.owlapi.manchesterowlsyntax

Examples of org.coode.owlapi.manchesterowlsyntax.ManchesterOWLSyntax


    @Override
    public List<String> getRenderablesForItem(OWLObjectProperty subject,
                                              OWLObjectPropertyCharacteristicAxiom item,
                                              OWLOntology ontology) {
        ManchesterOWLSyntax kw = keywordMap.get(item.getAxiomType());
        if(kw != null) {
            return Lists.newArrayList(kw.keyword());
        }
        else {
            throw new RuntimeException("Missing axiom type rendering " + item.getAxiomType());
        }
    }
View Full Code Here


            }
        }
    }

    public Optional<ManchesterOWLSyntax> getKeyword(String manchesterSyntaxKeyword) {
        ManchesterOWLSyntax keyword = keywordMap.get(manchesterSyntaxKeyword);
        if(keyword == null) {
            return Optional.absent();
        }
        else {
            return Optional.of(keyword);
View Full Code Here

TOP

Related Classes of org.coode.owlapi.manchesterowlsyntax.ManchesterOWLSyntax

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.