com.raritantechnologies.rql
Class VQLFormatter

java.lang.Object
  extended bycom.raritantechnologies.rql.VQLFormatter
All Implemented Interfaces:
IConfigurable, IRQLFormatter

public class VQLFormatter
extends java.lang.Object
implements IRQLFormatter

Implementation of RQLFormatter that translates a Lucene Query into Verity VQL statement.


Constructor Summary
VQLFormatter()
           
 
Method Summary
 java.lang.String formatQuery(Query query, java.lang.String defaultField, boolean suppressDefault)
           
 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

VQLFormatter

public VQLFormatter()
Method Detail

formatQuery

public java.lang.String formatQuery(Query query,
                                    java.lang.String defaultField,
                                    boolean suppressDefault)
Specified by:
formatQuery in interface IRQLFormatter

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