org.topbraidcomposer.ui.viewers.trees
Class SubPropertiesTreeNode
java.lang.Object
org.topbraidcomposer.ui.viewers.trees.ResourceTreeNode
org.topbraidcomposer.ui.viewers.trees.SubPropertiesTreeNode
public class SubPropertiesTreeNode
- extends ResourceTreeNode
A ResourceTreeNode showing the rdfs:subPropertyOf relationship.
- Author:
- Holger Knublauch
|
Method Summary |
ResourceTreeNode |
createChildNode(com.hp.hpl.jena.rdf.model.Resource childResource)
Creates a node for a given resource, with this as parent node. |
java.util.Iterator |
listChildResources()
Finds the Resources that shall be placed as child nodes of this node. |
| Methods inherited from class org.topbraidcomposer.ui.viewers.trees.ResourceTreeNode |
addChildNode, createChildren, createExpandedClone, deleteAny, ensureChildrenExist, findChildNode, 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 |
SubPropertiesTreeNode
public SubPropertiesTreeNode(ResourceTreeNode parentNode,
com.hp.hpl.jena.rdf.model.Resource resource)
SubPropertiesTreeNode
public SubPropertiesTreeNode(ResourceTreeNode parentNode,
com.hp.hpl.jena.rdf.model.Resource resource,
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
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