|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SerializationHandler
A SerializationHandler instance handles the serialization of a database column to the CDATA content of an XML tag.
| Method Summary | |
|---|---|
void |
fetchData(java.sql.ResultSet rs,
int column)
Set the data to be serialized from the given column of an SQL result set. |
boolean |
isNull()
|
void |
pushData(org.xml.sax.ContentHandler handler)
Write the data of the database value to the CDATA content of the currently open tag by calling ContentHandler.characters(char[], int, int). |
| Method Detail |
|---|
void fetchData(java.sql.ResultSet rs,
int column)
throws java.sql.SQLException
isNull() or fetchData(ResultSet, int) may be called.
java.sql.SQLExceptionboolean isNull()
fetchData(ResultSet, int)
is a SQL null value.
void pushData(org.xml.sax.ContentHandler handler)
throws org.xml.sax.SAXException
ContentHandler.characters(char[], int, int).
This call resets the state of this handler, so fetchData(ResultSet, int) my be called
again.
handler - The ContentHandler to push the characters to.
org.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||