com.raritantechnologies.wordmap
Class WordMapTreeProcessor
java.lang.Object
com.raritantechnologies.wordmap.WordMapTreeProcessor
- All Implemented Interfaces:
- IConfigurable, ITreeProcessor
- public class WordMapTreeProcessor
- extends java.lang.Object
- implements ITreeProcessor
Imports an RTI Tree object into a WordMap taxonomy.
XML Configuration Template:
<TreeProcessor class="com.raritantechnologies.wordmap.WordMapTreeProcessor"
taxonomyId="[ id of the taxonomy ]"
taxonomyName="[ name of Wordmap taxonomy to build from ]"
locale="[ wordmap locale (default = en ) ]"
memberAttribute="[ name of tree node attribute to hold Wordmap members (synonym phrases) ]"
processMode="[ CREATE(default) | UPDATE ]" >
<FeatureMap>
<!-- one or more Wordmap Features mapped to a TreeNode attribute -->
<Feature name="[ name of Wordmap feature type ]" attribute="[ name of tree node attribute ]"
locale="[ name of feature-specific locale (if any) ]" />
</FeatureMap>
</TreeProcessor>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WordMapTreeProcessor
public WordMapTreeProcessor()
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