com.mkdoc.query
Class RssQueryContext

java.lang.Object
  |
  +--com.mkdoc.query.AbstractQueryContext
        |
        +--com.mkdoc.query.RssQueryContext
All Implemented Interfaces:
QueryContext

public class RssQueryContext
extends AbstractQueryContext
implements QueryContext

An RSS output context for a query

Version:
0.1 2005-08-02
Author:
Philip Shaw

Field Summary
 
Fields inherited from interface com.mkdoc.query.QueryContext
HTML, LIMIT, RSS, TEXT
 
Constructor Summary
RssQueryContext(int page, int limit)
          Good citizen constructor.
 
Method Summary
 java.lang.String getOutputType()
          Get the requested output format for the result.
 
Methods inherited from class com.mkdoc.query.AbstractQueryContext
getPageNumber, getResultsPerPage, setPageNumber, setResultsPerPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.mkdoc.query.QueryContext
getPageNumber, getResultsPerPage
 

Constructor Detail

RssQueryContext

public RssQueryContext(int page,
                       int limit)
Good citizen constructor.

Parameters:
page - The requested page number for any results.
limit - The number of results per page for any results.
Since:
Version 0.1 2005-08-02
Method Detail

getOutputType

public final java.lang.String getOutputType()
Get the requested output format for the result.

Specified by:
getOutputType in interface QueryContext
Returns:
The output type for the result.
Since:
Version 0.1 2005-08-02