com.raritantechnologies.utils.tree.filter
Class TranslateAttributeFilter
java.lang.Object
com.raritantechnologies.utils.tree.filter.TranslateAttributeFilter
- All Implemented Interfaces:
- IConfigurable, ITreeNodeFilter
- public class TranslateAttributeFilter
- extends java.lang.Object
- implements ITreeNodeFilter
Translates an attribute value.
XML Configuration Template:
<TreeNodeFilter class="com.raritantechnologies.utils.tree.filter.TranslateAttributeFilter" >
<!-- One or more Attribute tags -->
<Attribute name="[ name of attribute ]" inputType="[ ID | path ]
outputType="[ name | ID | path ] />
<Attribute etc... />
</TreeNodeFilter>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TranslateAttributeFilter
public TranslateAttributeFilter()
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