com.raritantechnologies.utils.tree.filter
Class TreeNodePatternFilter
java.lang.Object
com.raritantechnologies.utils.tree.filter.TreeNodePatternFilter
- All Implemented Interfaces:
- IConfigurable, ITreeNodeFilter
- public class TreeNodePatternFilter
- extends java.lang.Object
- implements ITreeNodeFilter
Creates a TreeNode field from a pattern template field and the current values of the
TreeNode's attributes.
XML Configuration Template:
<TreeNodeFilter class="com.raritantechnologies.utils.tree.filter.TreeNodePatternFilter"
templateAttribute="[ (optional) name of TreeNode attribute that contains pattern template ]"
outputAttribute="[ name of TreeNode attribute to receive filtered result string ]" >
<!-- If the template pattern is not acquired from the TreeNode.templateAttribute: specifiy a fixed template pattern: -->
<Template>
<![CDATA[
Tree node attribute pattern with {Tree_Node_Attribute_Name} sections to indicate where current
Tree node attribute values are to be inserted.
<]]>
</Template>
</TreeNodeFilter>
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 |
TreeNodePatternFilter
public TreeNodePatternFilter()
filterNode
public TreeNode filterNode(TreeNode treeNode,
RaritanPageContext pageContext)
- Specified by:
filterNode in interface ITreeNodeFilter
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