com.raritantechnologies.endeca
Class EndecaTopicParser

java.lang.Object
  extended bycom.raritantechnologies.endeca.EndecaTopicParser
All Implemented Interfaces:
IConfigurable, ITopicParser

public class EndecaTopicParser
extends java.lang.Object
implements ITopicParser

Converts an Endeca Record Filter query String into an RTI Topic parse-tree object.

XML Configuration Template:
   <TopicParser class="com.raritantechnologies.endeca.EndecaTopicParser"
                   queryKeyField="[ result field that has enumerates the Endeca search fields (default=Ntk) ]"
                   queryModeField="[ match mode list for searched Endeca fields (default=Ntx) ]"
                   freetextfields="[ comma separated list of Endeca search profile composite fields ]"
                   defaultPhraseMatchMode="[ default mode to use for phrase matching ]" >
   </TopicParser>
 

Developed by Raritan Technologies .

Author:
Ted Sullivan

Constructor Summary
EndecaTopicParser()
           
 
Method Summary
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 Topic parse(java.lang.String topicName, java.lang.String queryString, IResult result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndecaTopicParser

public EndecaTopicParser()
Method Detail

parse

public Topic parse(java.lang.String topicName,
                   java.lang.String queryString,
                   IResult result)
Specified by:
parse in interface ITopicParser

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