com.ibatis.sqlmap.engine.exchange
Class DataExchangeFactory

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.exchange.DataExchangeFactory

public class DataExchangeFactory
extends java.lang.Object

Factory for DataExchange objects


Constructor Summary
DataExchangeFactory(TypeHandlerFactory typeHandlerFactory)
          Constructor for the factory
 
Method Summary
 DataExchange getDataExchangeForClass(java.lang.Class clazz)
          Get a DataExchange object for the passed in Class
 TypeHandlerFactory getTypeHandlerFactory()
          Getter for the type handler factory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataExchangeFactory

public DataExchangeFactory(TypeHandlerFactory typeHandlerFactory)
Constructor for the factory

Parameters:
typeHandlerFactory - - a type handler factory for the factory
Method Detail

getTypeHandlerFactory

public TypeHandlerFactory getTypeHandlerFactory()
Getter for the type handler factory

Returns:
- the type handler factory

getDataExchangeForClass

public DataExchange getDataExchangeForClass(java.lang.Class clazz)
Get a DataExchange object for the passed in Class

Parameters:
clazz - - the class to get a DataExchange object for
Returns:
- the DataExchange object