org.clazzes.jdbc2xml.deserialization.impl
Class DateDeserializationHandler

java.lang.Object
  extended by org.clazzes.jdbc2xml.deserialization.impl.AbstractSbDeserializationHandler
      extended by org.clazzes.jdbc2xml.deserialization.impl.DateDeserializationHandler
All Implemented Interfaces:
DeserializationHandler

public class DateDeserializationHandler
extends AbstractSbDeserializationHandler

A DeserializationHandler for date values.

Author:
wglas

Field Summary
 
Fields inherited from class org.clazzes.jdbc2xml.deserialization.impl.AbstractSbDeserializationHandler
type
 
Constructor Summary
DateDeserializationHandler(java.util.TimeZone timeZone, int type)
          Default constructor.
 
Method Summary
protected  void fillColumnValue(java.sql.PreparedStatement ps, int column, java.lang.String value)
          Fill in a column value into the given PreparedStatment.
 
Methods inherited from class org.clazzes.jdbc2xml.deserialization.impl.AbstractSbDeserializationHandler
addCharacters, fillColumn, startCharacters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateDeserializationHandler

public DateDeserializationHandler(java.util.TimeZone timeZone,
                                  int type)
Default constructor.

Parameters:
timeZone - The timezone to parse date values.
Method Detail

fillColumnValue

protected void fillColumnValue(java.sql.PreparedStatement ps,
                               int column,
                               java.lang.String value)
                        throws java.sql.SQLException
Description copied from class: AbstractSbDeserializationHandler
Fill in a column value into the given PreparedStatment.

Specified by:
fillColumnValue in class AbstractSbDeserializationHandler
Parameters:
ps - The statement to fill.
column - The number of the column to fill.
value - The string value to set or null, if the column has to be nulled.
Throws:
java.sql.SQLException


Copyright © 2008. All Rights Reserved.