org.topbraidcomposer.ui.viewers.trees
Class SubClassesTreeNode

java.lang.Object
  extended by org.topbraidcomposer.ui.viewers.trees.ResourceTreeNode
      extended by org.topbraidcomposer.ui.viewers.trees.SubClassesTreeNode
Direct Known Subclasses:
EditableSubClassesTreeNode, ExistingSubClassesTreeNode

public class SubClassesTreeNode
extends ResourceTreeNode

Author:
Holger Knublauch

Constructor Summary
SubClassesTreeNode(ResourceTreeNode superClassNode, com.hp.hpl.jena.rdf.model.Resource subClassNode)
           
SubClassesTreeNode(ResourceTreeNode superClassNode, com.hp.hpl.jena.rdf.model.Resource subClassNode, IRDFNodeFilter filter)
           
 
Method Summary
 ResourceTreeNode createChildNode(com.hp.hpl.jena.rdf.model.Resource childResource)
          Creates a node for a given resource, with this as parent node.
 ResourceTreeNode findChildNode(com.hp.hpl.jena.rdf.model.Resource resource, java.util.Set r)
           
 boolean isInferred()
           
 java.util.Iterator listChildResources()
          Finds the Resources that shall be placed as child nodes of this node.
static java.util.Iterator listChildResources(com.hp.hpl.jena.rdf.model.Resource resource, IRDFNodeFilter filter)
           
 
Methods inherited from class org.topbraidcomposer.ui.viewers.trees.ResourceTreeNode
addChildNode, createChildren, createExpandedClone, deleteAny, ensureChildrenExist, findChildNode, findCreatedChildNode, getChildNode, getChildNode, getChildren, getParentNode, getResource, hasChild, hasChildren, removeChildNode, replaceResource, toString, visitCreatedNodes, visitNodes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubClassesTreeNode

public SubClassesTreeNode(ResourceTreeNode superClassNode,
                          com.hp.hpl.jena.rdf.model.Resource subClassNode)

SubClassesTreeNode

public SubClassesTreeNode(ResourceTreeNode superClassNode,
                          com.hp.hpl.jena.rdf.model.Resource subClassNode,
                          IRDFNodeFilter filter)
Method Detail

createChildNode

public ResourceTreeNode createChildNode(com.hp.hpl.jena.rdf.model.Resource childResource)
Description copied from class: ResourceTreeNode
Creates a node for a given resource, with this as parent node.

Specified by:
createChildNode in class ResourceTreeNode
Parameters:
childResource - the resource to create a node for
Returns:
typically an instance of the same class

findChildNode

public ResourceTreeNode findChildNode(com.hp.hpl.jena.rdf.model.Resource resource,
                                      java.util.Set r)
Overrides:
findChildNode in class ResourceTreeNode

isInferred

public boolean isInferred()

listChildResources

public java.util.Iterator listChildResources()
Description copied from class: ResourceTreeNode
Finds the Resources that shall be placed as child nodes of this node.

Specified by:
listChildResources in class ResourceTreeNode
Returns:
an Iterator of Resources

listChildResources

public static java.util.Iterator listChildResources(com.hp.hpl.jena.rdf.model.Resource resource,
                                                    IRDFNodeFilter filter)