com.raritantechnologies.verity.profiler.profileNet
Class ProfileNetGenerator

java.lang.Object
  extended bycom.raritantechnologies.verity.profiler.profileNet.ProfileNetGenerator
All Implemented Interfaces:
IConfigurable, IJobProcess

public class ProfileNetGenerator
extends java.lang.Object
implements IJobProcess

Builds a Profile Net from inputs: (otl files, VQL, QueryResultBeanSets, Term Extractors) Use a TopicBuilder to create a Topic set from an OTL file. creates a BIF file - send to mkprf.

XML Configuration Template:
  <JobProcess class="com.raritantechnologies.verity.profiler.profileNet.ProfileNetGenerator"
                 bifFileName="[ location to write BIF file ]"
                 profileNetPath="[ location to create profileNet ]"
                 threshold="[ query threshold ]" >

    <!-- Option 1: Use a com.raritantechnologies.rql.topic.VerityTaxonomyTreeBuilder -->
    <VerityTaxonomyTreeBuilder topicIDField="[ field with Topic ID ]"
                   queryField="[ field that rendered query will be added to ]" >

     <!-- TreeBuilder source for initial taxonomy tree -->
     <TaxonomyTreeBuilder class="[ class of com.raritantechnologies.utils.tree.ITreeBuilder ]" >
        <!-- configuration parameters for TreeBuilder -->
     </TaxonomyTreeBuilder>

     <!-- TopicSetBuilder creates a TopicSet object -->
     <TopicSetBuilder class="[ class of com.raritantechnologies.rql.topic.ITopicSetBuilder ]" >
        <!-- configuration parameters for TopicSetBuilder -->
     </TopicSetBuilder>

     <!-- TopicRenderer converts Verity Topic to query string -->
     <TopicRenderer class="[ class of com.raritantechnologies.rql.topic.ITopicRenderer ]" >
        <!-- configuration parameters for TopicRenderer -->
     </TopicRenderer>

   </VerityTaxonomyTreeBuilder>

  </JobProcess>
 

Developed by Raritan Technologies .

Author:
Ted Sullivan

Constructor Summary
ProfileNetGenerator()
           
 
Method Summary
 void createProfileNet(QueryResultBeanSet qrbs, IQueryFormatter theFormatter)
           
 void executeJob(RaritanPageContext rpc)
           
 void executeJob(java.lang.String[] args)
           
 java.lang.String getConfigurationXML()
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 void setProfileAlias(java.lang.String profileAlias)
           
 void setServerSpec(java.lang.String serverSpec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileNetGenerator

public ProfileNetGenerator()
Method Detail

setServerSpec

public void setServerSpec(java.lang.String serverSpec)

setProfileAlias

public void setProfileAlias(java.lang.String profileAlias)

executeJob

public void executeJob(RaritanPageContext rpc)
Specified by:
executeJob in interface IJobProcess

executeJob

public void executeJob(java.lang.String[] args)
Specified by:
executeJob in interface IJobProcess

createProfileNet

public void createProfileNet(QueryResultBeanSet qrbs,
                             IQueryFormatter theFormatter)

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 IJobProcess

getConfigurationXML

public java.lang.String getConfigurationXML()
Specified by:
getConfigurationXML in interface IJobProcess