com.mkdoc.sesame
Class XhtmlResultsRenderer

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

Deprecated. Use com.mkdoc.query.XhtmlResultRenderer

public class XhtmlResultsRenderer
extends java.lang.Object
implements ResultsRenderer

Renders Sesame query results to XHTML.

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

Field Summary
static java.lang.String CONTENT_TYPE
          Deprecated. The text content type.
static java.lang.String FOOTER
          Deprecated. An XHTML document footer.
static java.lang.String HEADER
          Deprecated. An XHTML document header.
 
Constructor Summary
XhtmlResultsRenderer()
          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-02-02
See Also:
Constant Field Values

HEADER

public static final java.lang.String HEADER
Deprecated. 
An XHTML document header.

Since:
Version 0.1 2005-02-02
See Also:
Constant Field Values

FOOTER

public static final java.lang.String FOOTER
Deprecated. 
An XHTML document footer.

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

XhtmlResultsRenderer

public XhtmlResultsRenderer()
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-02-02

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-02-02

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/html.
Since:
Version 0.1 2005-02-02