com.mkdoc.sesame
Interface ResultsRenderer

All Known Implementing Classes:
TextResultsRenderer, XhtmlResultsRenderer

Deprecated. Use com.mkdoc.query.ResultRenderer

public interface ResultsRenderer

An interface for types that render Sesame query results.

Version:
0.1 2005-01-26
Author:
Philip Shaw

Method Summary
 java.lang.String getContentType()
          Deprecated. Get the content type for the renderer.
 java.lang.String renderResults(org.openrdf.sesame.query.QueryResultsTable table)
          Deprecated. Render a query results table to a string.
 void renderResults(javax.servlet.ServletOutputStream outputStream, org.openrdf.sesame.query.QueryResultsTable table)
          Deprecated. Render a query results table to a servlet output stream.
 

Method Detail

getContentType

public java.lang.String getContentType()
Deprecated. 
Get the content type for the renderer.

Returns:
A content type for the rendered output.
Since:
Version 0.1 2005-01-26

renderResults

public void renderResults(javax.servlet.ServletOutputStream outputStream,
                          org.openrdf.sesame.query.QueryResultsTable table)
                   throws java.io.IOException
Deprecated. 
Render a query results table to a servlet output stream.

Implementations may render output according to a particular markup language or content type.

Parameters:
outputStream - The output stream to which to write the results.
table - The query results table to render.
Throws:
java.io.IOException - If there is a problem writing results to the output stream.
Since:
Version 0.1 2005-01-26

renderResults

public java.lang.String renderResults(org.openrdf.sesame.query.QueryResultsTable table)
Deprecated. 
Render a query results table to a string.

Parameters:
table - The query results table to render.
Returns:
A formatted representation of the query results.
Since:
Version 0.1 2005-01-26