com.raritantechnologies.utils.tree
Class FileTreeProcessor
java.lang.Object
com.raritantechnologies.utils.tree.FileTreeProcessor
- All Implemented Interfaces:
- IConfigurable, ITreeProcessor
- public class FileTreeProcessor
- extends java.lang.Object
- implements ITreeProcessor
TreeProcessor that renders the Tree using an ITreeRenderer and saves the result to a file.
XML Configuration Template:
<TreeProcessor class="com.raritantechnologies.utils.tree.FileTreeProcessor"
fileName="[ file name to store rendered Tree ]"
treeURL="[ optional treeURL for renderers that require this parameter ]" >
<!-- One or more TreeRenderers -->
<TreeRenderer class="[ class of com.raritantechnologies.utils.tree.taglibrary.ITreeRenderer ]" >
</TreeRenderer>
</TreeProcessor>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileTreeProcessor
public FileTreeProcessor()
processTree
public void processTree(TreeRoot tree)
- Specified by:
processTree in interface ITreeProcessor
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