com.clarkparsia.pellet.owlapiv3
Class OWLClassTreePrinter

java.lang.Object
  extended by org.mindswap.pellet.taxonomy.printer.TreeTaxonomyPrinter<org.semanticweb.owlapi.model.OWLClass>
      extended by com.clarkparsia.pellet.owlapiv3.OWLClassTreePrinter
All Implemented Interfaces:
TaxonomyPrinter<org.semanticweb.owlapi.model.OWLClass>

public class OWLClassTreePrinter
extends TreeTaxonomyPrinter<org.semanticweb.owlapi.model.OWLClass>
implements TaxonomyPrinter<org.semanticweb.owlapi.model.OWLClass>

TaxonomyPrinter for Taxonomies of OWLClasses (Taxonomy)

Author:
Blazej Bulka

Constructor Summary
OWLClassTreePrinter()
           
 
Method Summary
static java.util.Set<org.semanticweb.owlapi.model.OWLNamedIndividual> getDirectInstances(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 org.mindswap.pellet.taxonomy.printer.TreeTaxonomyPrinter
print, print
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mindswap.pellet.taxonomy.printer.TaxonomyPrinter
print, print
 

Constructor Detail

OWLClassTreePrinter

public OWLClassTreePrinter()
Method Detail

getDirectInstances

public static java.util.Set<org.semanticweb.owlapi.model.OWLNamedIndividual> getDirectInstances(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


Copyright © 2004 Evren Sirin. All Rights Reserved.