|
||||||||||
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(ResultSet rs,
int column)
Set the data to be serialized from the given column of an SQL result set. |
boolean |
isNull()
|
void |
pushData(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(ResultSet rs, int column) throws SQLException
isNull()
or fetchData(ResultSet, int)
may be called.
SQLException
boolean isNull()
fetchData(ResultSet, int)
is a SQL null value.void pushData(ContentHandler handler) throws 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.
SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |