com.raritantechnologies.concept.classifier
Class ClassifierRequestFormatter

java.lang.Object
  extended bycom.raritantechnologies.concept.classifier.ClassifierRequestFormatter
All Implemented Interfaces:
IConfigurable, IRequestFormatter

public class ClassifierRequestFormatter
extends java.lang.Object
implements IRequestFormatter

Renders a classifier rule by finding the IDocumentMatcher identified by a input matcherName parameter and DocumentClassifier name.

XML Configuration Template:
   <SystemObject type="RequestFormatter" name="[ name of this RequestFormatter ]"
                    configurableClass="com.raritantechnologies.concept.classifier.ClassifierRequestFormatter"
                    documentClassifier="[ name of DocumentClassifier instance ]"
                    matcherNameParam="[ request parameter that contains the IDocumentMatcher name for this classifier ]" />
 

Developed by Raritan Technologies Inc..

Author:
Ted Sullivan

Constructor Summary
ClassifierRequestFormatter()
           
 
Method Summary
 java.lang.String formatSearchRequest(RaritanPageContext pageContext)
          Reformat the http request as a String.
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassifierRequestFormatter

public ClassifierRequestFormatter()
Method Detail

formatSearchRequest

public java.lang.String formatSearchRequest(RaritanPageContext pageContext)
Description copied from interface: IRequestFormatter
Reformat the http request as a String.

Specified by:
formatSearchRequest in interface IRequestFormatter

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 IRequestFormatter