com.mkdoc.query
Class QueryFactory

java.lang.Object
  |
  +--com.mkdoc.query.QueryFactory

public final class QueryFactory
extends java.lang.Object

Get query components for a servlet application.

Version:
0.2 2005-10-28
Author:
Philip Shaw
To do:
Implement an abstract factory pattern using ApplicationContext and an extended Query interface to identify types.

Method Summary
static ResultRenderer getResultRenderer(Query query)
          Get a result renderer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getResultRenderer

public static ResultRenderer getResultRenderer(Query query)
Get a result renderer.

Parameters:
query - A query object for the results.
Returns:
A result renderer type appropriate for the request.
Since:
Version 0.1 2005-07-26