Class OWLClassTreePrinter

  • All Implemented Interfaces:
    openllet.core.taxonomy.printer.TaxonomyPrinter<org.semanticweb.owlapi.model.OWLClass>

    public class OWLClassTreePrinter
    extends openllet.core.taxonomy.printer.TreeTaxonomyPrinter<org.semanticweb.owlapi.model.OWLClass>
    TaxonomyPrinter for Taxonomies of OWLClasses (Taxonomy)
    Author:
    Blazej Bulka
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Set<org.semanticweb.owlapi.model.OWLNamedIndividual> getDirectInstances​(openllet.core.taxonomy.Taxonomy<org.semanticweb.owlapi.model.OWLClass> t, org.semanticweb.owlapi.model.OWLClass c)
      Retrieves direct instances of a class from Taxonomy
      • Methods inherited from class openllet.core.taxonomy.printer.TreeTaxonomyPrinter

        print, print
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OWLClassTreePrinter

        public OWLClassTreePrinter()
    • Method Detail

      • getDirectInstances

        public static java.util.Set<org.semanticweb.owlapi.model.OWLNamedIndividual> getDirectInstances​(openllet.core.taxonomy.Taxonomy<org.semanticweb.owlapi.model.OWLClass> t,
                                                                                                        org.semanticweb.owlapi.model.OWLClass c)
        Retrieves direct instances of a class from Taxonomy
        Parameters:
        t - the taxonomy
        c - the class
        Returns:
        a set of direct instances