com.mkdoc.query
Class XhtmlQueryContext

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

public class XhtmlQueryContext
extends AbstractQueryContext
implements QueryContext

An XHTML 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
XhtmlQueryContext(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

XhtmlQueryContext

public XhtmlQueryContext(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