com.raritantechnologies.verity.topic
Class OTLTopicSetBuilder

java.lang.Object
  extended bycom.raritantechnologies.verity.topic.OTLTopicSetBuilder
All Implemented Interfaces:
IConfigurable, ITopicSetBuilder

public class OTLTopicSetBuilder
extends java.lang.Object
implements ITopicSetBuilder

Builds a Topic set from a Verity OTL file.

XML Configuration Template:
   <TopicSetBuilder class="com.raritantechnologies.verity.topic.OTLTopicSetBuilder" 
                       otlFile="[ name of Verity OTL file ]" />
 


Constructor Summary
OTLTopicSetBuilder()
           
OTLTopicSetBuilder(java.lang.String otlFile)
           
 
Method Summary
 TopicSet buildTopicSet(RaritanPageContext rpc)
           
 java.lang.String getOtlFile()
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 void setOtlFile(java.lang.String otlFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OTLTopicSetBuilder

public OTLTopicSetBuilder()

OTLTopicSetBuilder

public OTLTopicSetBuilder(java.lang.String otlFile)
Method Detail

buildTopicSet

public TopicSet buildTopicSet(RaritanPageContext rpc)
Specified by:
buildTopicSet in interface ITopicSetBuilder

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

setOtlFile

public void setOtlFile(java.lang.String otlFile)

getOtlFile

public java.lang.String getOtlFile()