|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for types that render query results.
Field Summary | |
static int |
FULL
The full document output mode. |
static int |
INSERT
The document insertion output mode. |
Method Summary | |
java.lang.String |
getContentType()
Get the content type for the renderer. |
void |
renderQueryResult(javax.servlet.jsp.JspWriter jspWriter,
QueryResult queryResult)
Render a query result to a servlet output stream in FULL
mode. |
void |
renderQueryResult(javax.servlet.jsp.JspWriter jspWriter,
QueryResult queryResult,
int mode)
Render a query result to a servlet output stream. |
java.lang.String |
renderQueryResult(QueryResult queryResult,
int mode)
Render a query result to a string. |
void |
renderQueryResult(javax.servlet.ServletOutputStream outputStream,
QueryResult queryResult)
Render a query results table to a servlet output stream in FULL mode. |
void |
renderQueryResult(javax.servlet.ServletOutputStream outputStream,
QueryResult queryResult,
int mode)
Render a query result to a servlet output stream. |
Field Detail |
public static final int FULL
public static final int INSERT
Method Detail |
public java.lang.String getContentType()
public void renderQueryResult(javax.servlet.ServletOutputStream outputStream, QueryResult queryResult) throws java.io.IOException
FULL
mode.
outputStream
- The output stream to which to write the
results.queryResult
- The query result to render.
java.io.IOException
- If there is a problem writing results to the
output stream.public void renderQueryResult(javax.servlet.ServletOutputStream outputStream, QueryResult queryResult, int mode) throws java.io.IOException
Implementations may render output according to a particular markup language or content type.
outputStream
- The output stream to which to write the
results.queryResult
- The query result to render.mode
- The output mode, either
ResultRenderer.FULL
or
ResultRenderer.INSERT
.
java.io.IOException
- If there is a problem writing results to the
output stream.public void renderQueryResult(javax.servlet.jsp.JspWriter jspWriter, QueryResult queryResult) throws java.io.IOException
FULL
mode.
Implementations may render output according to a particular markup language or content type.
jspWriter
- The output stream to which to write the results.queryResult
- The query result to render.
java.io.IOException
- If there is a problem writing results to the
output stream.public void renderQueryResult(javax.servlet.jsp.JspWriter jspWriter, QueryResult queryResult, int mode) throws java.io.IOException
Implementations may render output according to a particular markup language or content type.
jspWriter
- The output stream to which to write the results.queryResult
- The query result to render.mode
- The output mode, either
ResultRenderer.FULL
or
ResultRenderer.INSERT
.
java.io.IOException
- If there is a problem writing results to the
output stream.public java.lang.String renderQueryResult(QueryResult queryResult, int mode)
queryResult
- The query result to render.mode
- The output mode, either
ResultRenderer.FULL
or
ResultRenderer.INSERT
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |