org.apache.ibatis.type
Class TypeHandlerRegistry

java.lang.Object
  extended by org.apache.ibatis.type.TypeHandlerRegistry

public final class TypeHandlerRegistry
extends Object


Constructor Summary
TypeHandlerRegistry()
           
 
Method Summary
 TypeHandler getTypeHandler(Class<?> type)
           
 TypeHandler getTypeHandler(Class<?> type, JdbcType jdbcType)
           
 TypeHandler getTypeHandler(JdbcType jdbcType)
           
 TypeHandler getUnknownTypeHandler()
           
 boolean hasTypeHandler(Class<?> javaType)
           
 boolean hasTypeHandler(Class<?> javaType, JdbcType jdbcType)
           
 void register(Class<?> type, JdbcType jdbcType, TypeHandler handler)
           
 void register(Class<?> type, TypeHandler handler)
           
 void register(JdbcType jdbcType, TypeHandler handler)
           
 void register(String packageName)
           
 void register(TypeHandler handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeHandlerRegistry

public TypeHandlerRegistry()
Method Detail

hasTypeHandler

public boolean hasTypeHandler(Class<?> javaType)

hasTypeHandler

public boolean hasTypeHandler(Class<?> javaType,
                              JdbcType jdbcType)

getTypeHandler

public TypeHandler getTypeHandler(Class<?> type)

getTypeHandler

public TypeHandler getTypeHandler(JdbcType jdbcType)

getTypeHandler

public TypeHandler getTypeHandler(Class<?> type,
                                  JdbcType jdbcType)

getUnknownTypeHandler

public TypeHandler getUnknownTypeHandler()

register

public void register(JdbcType jdbcType,
                     TypeHandler handler)

register

public void register(Class<?> type,
                     TypeHandler handler)

register

public void register(TypeHandler handler)

register

public void register(Class<?> type,
                     JdbcType jdbcType,
                     TypeHandler handler)

register

public void register(String packageName)


Copyright © 2010-2011 MyBatis.org. All Rights Reserved.