org.clazzes.jdbc2xml.deserialization.impl
Class BooleanDeserializationHandler

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

public class BooleanDeserializationHandler
extends AbstractSbDeserializationHandler

A DeserializationHandler for integer values.

Author:
wglas

Field Summary
 
Fields inherited from class org.clazzes.jdbc2xml.deserialization.impl.AbstractSbDeserializationHandler
type
 
Constructor Summary
BooleanDeserializationHandler(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

BooleanDeserializationHandler

public BooleanDeserializationHandler(int type)
Default constructor.

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 © 2010. All Rights Reserved.