org.topbraidcomposer.ui.viewers.trees
Class SubClassesTreeNode
java.lang.Object
org.topbraidcomposer.ui.viewers.trees.ResourceTreeNode
org.topbraidcomposer.ui.viewers.trees.SubClassesTreeNode
- Direct Known Subclasses:
- EditableSubClassesTreeNode, ExistingSubClassesTreeNode
public class SubClassesTreeNode
- extends ResourceTreeNode
- Author:
- Holger Knublauch
| 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 |
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)
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)