org.weborganic.bastille.flint
Class GetFacets

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

public final class GetFacets
extends Object
implements ContentGenerator, Cacheable

Returns the facets from a query.

This is a simple and efficient generator that is most useful for use with autocomplete.

Since:
0.6.0

Constructor Summary
GetFacets()
           
 
Method Summary
 String getETag(ContentRequest req)
          Generate an ETag based on the parameters and the last modified date of the index.
 void process(ContentRequest req, XMLWriter xml)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetFacets

public GetFacets()
Method Detail

getETag

public String getETag(ContentRequest req)
Generate an ETag based on the parameters and the last modified date of the index.

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