net.sourceforge.fluxion.pussycat.entity.impl
Class DirectClassHierarchyEntity
java.lang.Object
net.sourceforge.fluxion.pussycat.entity.impl.DirectClassHierarchyEntity
- All Implemented Interfaces:
- RenderableInPussycat, RenderableOWLEntity<org.semanticweb.owl.model.OWLOntology>
public class DirectClassHierarchyEntity
- 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 |
DirectClassHierarchyEntity(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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DirectClassHierarchyEntity
public DirectClassHierarchyEntity(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
- Throws:
PussycatException
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
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.