com.raritantechnologies.utils.tree.taglibrary
Class TreeNodeAttributeRenderer
java.lang.Object
com.raritantechnologies.utils.tree.taglibrary.TreeNodeAttributeRenderer
- All Implemented Interfaces:
- IConfigurable, ITreeNodeRenderer
- public class TreeNodeAttributeRenderer
- extends java.lang.Object
- implements ITreeNodeRenderer
Renders a set of TreeNode attributes using an IResultRenderer.
XML Configuration Template:
<NodeRenderer class="com.raritantechnologies.utils.tree.taglibrary.TreeNodeAttributeRenderer"
attributesList="[ optional list of attributes to be rendered or standard attributes: NAME PATH NODEID COUNT ]" >
<!-- Optional StringFilter used to modify an TreeNode attribute prior to rendering -->
<StringFilter attribute="[ the attribute to be filtered ]"
class="[ class of IStringFilter ]" >
</StringFilter>
<ResultRenderer class="[ class of IResultRenderer ]" >
</ResultRenderer>
</NodeRenderer>
Developed by
Raritan Technologies Inc..
- Author:
- Ted Sullivan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeNodeAttributeRenderer
public TreeNodeAttributeRenderer()
renderNode
public java.lang.String renderNode(TreeNode treeNode,
RaritanPageContext rpc)
- Description copied from interface:
ITreeNodeRenderer
- returns a String representation of a TreeNode.
- Specified by:
renderNode in interface ITreeNodeRenderer
initialize
public void initialize(org.w3c.dom.Element elem)
- Description copied from interface:
IConfigurable
- Initializes the object from an XML tag or element.
This method is called by the Framework as part of the application initializtion.
see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory.
Configurable objects that are owned or contained by other configurable objects will be initialized
in by the parent object.
- Specified by:
initialize in interface IConfigurable