org.topbraidcomposer.ui.viewers.trees
Class ResourceTreeRoot

java.lang.Object
  extended by org.topbraidcomposer.ui.viewers.trees.ResourceTreeNode
      extended by org.topbraidcomposer.ui.viewers.trees.ResourceTreeRoot

public class ResourceTreeRoot
extends ResourceTreeNode


Constructor Summary
ResourceTreeRoot(ResourceTreeNode node)
           
 
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
 

Constructor Detail

ResourceTreeRoot

public ResourceTreeRoot(ResourceTreeNode node)
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

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