|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.guiseframework.component.TreeControl.AbstractTreeNodeRepresentationStrategy<V>
com.guiseframework.component.rdf.AbstractRDFObjectTreeNodeRepresentationStrategy<V>
com.guiseframework.component.rdf.AbstractRDFResourceTreeNodeRepresentationStrategy<V>
public abstract class AbstractRDFResourceTreeNodeRepresentationStrategy<V extends com.globalmentor.rdf.RDFResource>
Abstract functionality for a tree node representation strategy representing an RDF resource.
| Constructor Summary | |
|---|---|
AbstractRDFResourceTreeNodeRepresentationStrategy()
Default constructor with a default RDF XMLifier. |
|
AbstractRDFResourceTreeNodeRepresentationStrategy(com.globalmentor.rdf.RDFXMLGenerator rdfXMLifier)
RDF XMLifier constructor. |
|
| Method Summary | |
|---|---|
protected java.lang.StringBuilder |
buildLabelText(java.lang.StringBuilder stringBuilder,
TreeControl treeControl,
TreeModel model,
TreeNodeModel<? extends V> treeNode,
V value)
Builds the label to be used for a tree node. |
protected boolean |
isResourceReferenceURIIncluded()
|
protected boolean |
isResourceTypeIncluded()
|
protected void |
setResourceReferenceURIIncluded(boolean referenceURIIncluded)
Sets whether the resource reference URI should be included. |
protected void |
setResourceTypeIncluded(boolean resourceTypeIncluded)
Sets whether the resource type should be included. |
| Methods inherited from class com.guiseframework.component.rdf.AbstractRDFObjectTreeNodeRepresentationStrategy |
|---|
createComponent, createInfoModel, getXMLGenerator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractRDFResourceTreeNodeRepresentationStrategy()
public AbstractRDFResourceTreeNodeRepresentationStrategy(com.globalmentor.rdf.RDFXMLGenerator rdfXMLifier)
rdfXMLifier - The RDF XMLifier to use for creating labels.
java.lang.NullPointerException - if the given RDF XMLifier is null.| Method Detail |
|---|
protected boolean isResourceReferenceURIIncluded()
protected void setResourceReferenceURIIncluded(boolean referenceURIIncluded)
referenceURIIncluded - Whether the resource reference URI should be included.protected boolean isResourceTypeIncluded()
protected void setResourceTypeIncluded(boolean resourceTypeIncluded)
resourceTypeIncluded - Whether the resource type should be included.
protected java.lang.StringBuilder buildLabelText(java.lang.StringBuilder stringBuilder,
TreeControl treeControl,
TreeModel model,
TreeNodeModel<? extends V> treeNode,
V value)
buildLabelText in class AbstractRDFObjectTreeNodeRepresentationStrategy<V extends com.globalmentor.rdf.RDFResource>N - The type of value contained in the node.stringBuilder - The string builder to hold the label text.treeControl - The component containing the model.model - The model containing the value.treeNode - The node containing the value.value - The value contained in the node.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||