| java.lang.Object com.ibatis.sqlmap.engine.type.TypeHandlerFactory
TypeHandlerFactory | public class TypeHandlerFactory (Code) | | Not much of a suprise, this is a factory class for TypeHandler objects.
|
TypeHandlerFactory | public TypeHandlerFactory()(Code) | | Default constructor
|
getTypeHandler | public TypeHandler getTypeHandler(Class type)(Code) | | Get a TypeHandler for a class
Parameters: type - - the class you want a TypeHandler for - the handler |
getTypeHandler | public TypeHandler getTypeHandler(Class type, String jdbcType)(Code) | | Get a TypeHandler for a class and a JDBC type
Parameters: type - - the class Parameters: jdbcType - - the jdbc type - the handler |
getUnkownTypeHandler | public TypeHandler getUnkownTypeHandler()(Code) | | When in doubt, get the "unknown" type handler
- if I told you, it would not be unknown, would it? |
hasTypeHandler | public boolean hasTypeHandler(Class type)(Code) | | Tells you if a particular class has a TypeHandler
Parameters: type - - the class - true if there is a TypeHandler |
putTypeAlias | public void putTypeAlias(String alias, String value)(Code) | | Adds a type alias that is case insensitive. All of the following String, string, StRiNg will equate to the same alias.
Parameters: alias - - the alias Parameters: value - - the real class name |
register | public void register(Class type, TypeHandler handler)(Code) | | Register (add) a type handler for a class
Parameters: type - - the class Parameters: handler - - the handler instance |
register | public void register(Class type, String jdbcType, TypeHandler handler)(Code) | | Register (add) a type handler for a class and JDBC type
Parameters: type - - the class Parameters: jdbcType - - the JDBC type Parameters: handler - - the handler instance |
resolveAlias | public String resolveAlias(String string)(Code) | | Lookup an aliased class and return it's REAL name
Parameters: string - - the alias - the REAL name |
|
|