com.mkdoc.sesame
Class TextResultsRenderer

java.lang.Object
  |
  +--com.mkdoc.sesame.TextResultsRenderer
All Implemented Interfaces:
ResultsRenderer

Deprecated. Use com.mkdoc.query.TextResultRenderer

public class TextResultsRenderer
extends java.lang.Object
implements ResultsRenderer

Renders Sesame query results to plain text.

Version:
0.2 2005-02-02
Author:
Philip Shaw

Field Summary
static java.lang.String CONTENT_TYPE
          Deprecated. The text content type.
 
Constructor Summary
TextResultsRenderer()
          Deprecated.  
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTENT_TYPE

public static final java.lang.String CONTENT_TYPE
Deprecated. 
The text content type.

Since:
Version 0.1 2005-01-26
See Also:
Constant Field Values
Constructor Detail

TextResultsRenderer

public TextResultsRenderer()
Deprecated. 
Method Detail

renderResults

public final 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.

Specified by:
renderResults in interface ResultsRenderer
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 final java.lang.String renderResults(org.openrdf.sesame.query.QueryResultsTable table)
Deprecated. 
Render a query results table to a string.

Specified by:
renderResults in interface ResultsRenderer
Parameters:
table - The query results table to render.
Returns:
A text formatted tabular layout of the query results.
Since:
Version 0.1 2005-01-26

getContentType

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

Specified by:
getContentType in interface ResultsRenderer
Returns:
The MIME type text/plain.
Since:
Version 0.1 2005-01-26