org.weborganic.bastille.flint
Class LookupSimilarTerms

java.lang.Object
  extended by org.weborganic.bastille.flint.LookupSimilarTerms
All Implemented Interfaces:
Cacheable, ContentGenerator

public final class LookupSimilarTerms
extends Object
implements ContentGenerator, Cacheable

Lookup the similar terms for the specified term.

Generate an ETag based on the parameters and the last modified date of the index.

Since:
0.6.0

Constructor Summary
LookupSimilarTerms()
           
 
Method Summary
 String getETag(ContentRequest req)
           
 void process(ContentRequest req, XMLWriter xml)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupSimilarTerms

public LookupSimilarTerms()
Method Detail

getETag

public String getETag(ContentRequest req)
Specified by:
getETag in interface Cacheable

process

public void process(ContentRequest req,
                    XMLWriter xml)
             throws BerliozException,
                    IOException
Specified by:
process in interface ContentGenerator
Throws:
BerliozException
IOException