|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.clazzes.jdbc2xml.serialization.impl.TimestampSerializationHandler
public class TimestampSerializationHandler
Constructor Summary | |
---|---|
TimestampSerializationHandler(java.util.TimeZone timeZone)
|
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) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimestampSerializationHandler(java.util.TimeZone timeZone)
Method Detail |
---|
public void fetchData(java.sql.ResultSet rs, int column) throws java.sql.SQLException
SerializationHandler
SerializationHandler.isNull()
or SerializationHandler.fetchData(ResultSet, int)
may be called.
fetchData
in interface SerializationHandler
java.sql.SQLException
public boolean isNull()
isNull
in interface SerializationHandler
SerializationHandler.fetchData(ResultSet, int)
is a SQL null value.public void pushData(org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException
SerializationHandler
ContentHandler.characters(char[], int, int)
.
This call resets the state of this handler, so SerializationHandler.fetchData(ResultSet, int)
my be called
again.
pushData
in interface SerializationHandler
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 |