org.topbraidcomposer.navigation.arbitree
Class ArbiTreeNode
java.lang.Object
org.topbraidcomposer.ui.viewers.trees.ResourceTreeNode
org.topbraidcomposer.navigation.arbitree.ArbiTreeNode
public class ArbiTreeNode
- extends ResourceTreeNode
|
Constructor Summary |
ArbiTreeNode(ArbiTreeNode parentNode,
com.hp.hpl.jena.rdf.model.Resource resource,
com.hp.hpl.jena.rdf.model.Property predicate,
boolean inverse)
|
|
Method Summary |
ResourceTreeNode |
createChildNode(com.hp.hpl.jena.rdf.model.Resource childResource)
Creates a node for a given resource, with this as parent node. |
com.hp.hpl.jena.rdf.model.Statement |
getStatement()
|
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 |
ArbiTreeNode
public ArbiTreeNode(ArbiTreeNode parentNode,
com.hp.hpl.jena.rdf.model.Resource resource,
com.hp.hpl.jena.rdf.model.Property predicate,
boolean inverse)
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
getStatement
public com.hp.hpl.jena.rdf.model.Statement getStatement()
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