com.raritantechnologies.inxight
Class InxightTaxonomyTreeProcessor

java.lang.Object
  extended bycom.raritantechnologies.inxight.InxightTaxonomyTreeProcessor
All Implemented Interfaces:
IConfigurable, ITreeProcessor

public class InxightTaxonomyTreeProcessor
extends java.lang.Object
implements ITreeProcessor

TreeProcessor that imports and publishes Taxonomy trees to an Inxight SmartDiscovery Analysis Server.

XML Configuration Template:
    <TreeProcessor class="com.raritantechnologies.inxight.InxightTaxonomyTreeProcessor"
                      analysisServerHost="[ host name of SmartDiscovery Analysis server ]"
                      analysisServerPort="[ port that SmartDiscovery Analysis server is listening on ]"
                      taxonomyName="[ optional name for taxonomy ]"
                      taxonomyNameAttribute="[ optional tree attribute to get taxonomy name ]"
                      operationSequence="[ PUBLISH | OPEN | CLOSE | DELETE (one or more ) ]" >

      <InxightTreeXMLGenerator 
               language="[ taxonomy language (default='english') ]"
               descriptionAttribute="[ attribute to get node description ]"
               ruleAttributes="[ comma separated list of attribute(s) that contain classification rules ]"
               ruleOperator="[ AND | OR(default): boolean operator to concatenate rules  ]" 
               labelAttribute="[ tree node attribute that give node name (default= 'NAME') ]" />

    </TreeProcessor>
 


Constructor Summary
InxightTaxonomyTreeProcessor()
           
 
Method Summary
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 void processTree(TreeRoot tree)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InxightTaxonomyTreeProcessor

public InxightTaxonomyTreeProcessor()
Method Detail

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