net.sourceforge.fluxion.pussycat.entity.impl
Class PussycatClassHierarchyEntity

java.lang.Object
  extended by net.sourceforge.fluxion.pussycat.entity.impl.PussycatClassHierarchyEntity
All Implemented Interfaces:
RenderableInPussycat, RenderableOWLEntity<org.semanticweb.owl.model.OWLOntology>

public class PussycatClassHierarchyEntity
extends java.lang.Object
implements RenderableOWLEntity<org.semanticweb.owl.model.OWLOntology>

The PussycatClassHierarchyEntity class Defines a class hierarchy html widget that can be drawn by Pussycat

Author:
Rob Davey

Constructor Summary
PussycatClassHierarchyEntity(org.mindswap.pellet.owlapi.Reasoner reasoner, org.semanticweb.owl.model.OWLOntology ontology)
           
PussycatClassHierarchyEntity(org.mindswap.pellet.owlapi.Reasoner reasoner, org.semanticweb.owl.model.OWLOntology ontology, org.semanticweb.owl.model.OWLClass c)
          Construct a class hierarchy using the supplied class as the active element.
 
Method Summary
 void build()
           
 void destroy()
           
 org.semanticweb.owl.model.OWLOntology getEntity()
           
 java.lang.String getId()
           
 boolean isDirectTree()
           
 boolean isDockable()
           
 void setDirectTree(boolean direct)
           
 void setEntity(org.semanticweb.owl.model.OWLOntology ontology)
           
 void setId(java.lang.String id)
           
 void setRenderlet(Renderlet renderlet)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PussycatClassHierarchyEntity

public PussycatClassHierarchyEntity(org.mindswap.pellet.owlapi.Reasoner reasoner,
                                    org.semanticweb.owl.model.OWLOntology ontology)
                             throws PussycatException
Throws:
PussycatException

PussycatClassHierarchyEntity

public PussycatClassHierarchyEntity(org.mindswap.pellet.owlapi.Reasoner reasoner,
                                    org.semanticweb.owl.model.OWLOntology ontology,
                                    org.semanticweb.owl.model.OWLClass c)
                             throws PussycatException
Construct a class hierarchy using the supplied class as the active element.

This assumes that you want to render a tree showing only the given class and the direct super-and subclasses of it. This feature can be toggled using the

Parameters:
reasoner -
ontology -
c -
Throws:
PussycatException
Method Detail

isDockable

public boolean isDockable()
Specified by:
isDockable in interface RenderableInPussycat

build

public void build()
           throws PussycatException
Specified by:
build in interface RenderableInPussycat
Throws:
PussycatException

getId

public java.lang.String getId()
Specified by:
getId in interface RenderableInPussycat

setId

public void setId(java.lang.String id)
Specified by:
setId in interface RenderableInPussycat

setRenderlet

public void setRenderlet(Renderlet renderlet)
Specified by:
setRenderlet in interface RenderableInPussycat

setEntity

public void setEntity(org.semanticweb.owl.model.OWLOntology ontology)
               throws PussycatException
Specified by:
setEntity in interface RenderableOWLEntity<org.semanticweb.owl.model.OWLOntology>
Throws:
PussycatException

getEntity

public org.semanticweb.owl.model.OWLOntology getEntity()
                                                throws PussycatException
Specified by:
getEntity in interface RenderableOWLEntity<org.semanticweb.owl.model.OWLOntology>
Throws:
PussycatException

setDirectTree

public void setDirectTree(boolean direct)

isDirectTree

public boolean isDirectTree()

destroy

public void destroy()
Specified by:
destroy in interface RenderableInPussycat

toString

public java.lang.String toString()
Specified by:
toString in interface RenderableInPussycat
Overrides:
toString in class java.lang.Object


Copyright © 2010. All Rights Reserved.