|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The interface for handling the events that are generated when a result set is converted. The events will be invoked in the following sequence:
headerrowStartcolumnStartfieldcolumnEndrowEndfooter
ResultSetConverter| Method Summary | |
void |
columnEnd(java.lang.StringBuffer output)
Write any data corresponding to the end of a new column. |
void |
columnStart(java.lang.StringBuffer output)
Write any data corresponding to the start of a new column. |
void |
field(java.lang.StringBuffer output,
java.sql.ResultSet resultSet,
int column)
Write the data contained in the specified field. |
void |
footer(java.lang.StringBuffer output)
Write any footer data. |
void |
header(java.lang.StringBuffer output,
java.sql.ResultSet rs)
Write any header data to the output stream. |
void |
rowEnd(java.lang.StringBuffer output)
Write any data corresponding to the end of a row. |
void |
rowStart(java.lang.StringBuffer output)
Write any data corresponding to the start of a new row. |
| Method Detail |
public void header(java.lang.StringBuffer output,
java.sql.ResultSet rs)
throws ResultSetHandlerException
ResultSetConverter before any other events.
output - Output string buffer to append data tors - ResultSet from which to extract header information.
ResultSetHandlerException - If a problem occurs when accessing the ResultSet.public void rowStart(java.lang.StringBuffer output)
output - Output string buffer to append data to.public void columnStart(java.lang.StringBuffer output)
output - Output string buffer to append data to.
public void field(java.lang.StringBuffer output,
java.sql.ResultSet resultSet,
int column)
throws ResultSetHandlerException
output - Output string buffer to append data to.resultSet - ResultSet from which to extract column information.column - The column number of the field.
ResultSetHandlerException - If a problem occurs when accessing the ResultSet.public void columnEnd(java.lang.StringBuffer output)
output - Output string buffer to append data to.public void rowEnd(java.lang.StringBuffer output)
output - Output string buffer to append data to.public void footer(java.lang.StringBuffer output)
output - Output string buffer to append data to.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||