org.apache.ibatis.builder
Class BaseBuilder

java.lang.Object
  extended by org.apache.ibatis.builder.BaseBuilder
Direct Known Subclasses:
MapperBuilderAssistant, SqlSourceBuilder, XMLConfigBuilder, XMLMapperBuilder, XMLStatementBuilder

public abstract class BaseBuilder
extends Object


Field Summary
protected  Configuration configuration
           
protected  TypeAliasRegistry typeAliasRegistry
           
protected  TypeHandlerRegistry typeHandlerRegistry
           
 
Constructor Summary
BaseBuilder(Configuration configuration)
           
 
Method Summary
protected  Boolean booleanValueOf(String value, Boolean defaultValue)
           
 Configuration getConfiguration()
           
protected  Integer integerValueOf(String value, Integer defaultValue)
           
protected  Class<?> resolveAlias(String alias)
           
protected  Class<?> resolveClass(String alias)
           
protected  JdbcType resolveJdbcType(String alias)
           
protected  ParameterMode resolveParameterMode(String alias)
           
protected  ResultSetType resolveResultSetType(String alias)
           
protected  TypeHandler<?> resolveTypeHandler(Class<?> javaType, Class<?> typeHandlerType)
           
protected  TypeHandler<?> resolveTypeHandler(Class<?> javaType, String typeHandlerAlias)
           
protected  Set<String> stringSetValueOf(String value, String defaultValue)
           
protected  String stringValueOf(String value, String defaultValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configuration

protected final Configuration configuration

typeAliasRegistry

protected final TypeAliasRegistry typeAliasRegistry

typeHandlerRegistry

protected final TypeHandlerRegistry typeHandlerRegistry
Constructor Detail

BaseBuilder

public BaseBuilder(Configuration configuration)
Method Detail

getConfiguration

public Configuration getConfiguration()

stringValueOf

protected String stringValueOf(String value,
                               String defaultValue)

booleanValueOf

protected Boolean booleanValueOf(String value,
                                 Boolean defaultValue)

integerValueOf

protected Integer integerValueOf(String value,
                                 Integer defaultValue)

stringSetValueOf

protected Set<String> stringSetValueOf(String value,
                                       String defaultValue)

resolveJdbcType

protected JdbcType resolveJdbcType(String alias)

resolveResultSetType

protected ResultSetType resolveResultSetType(String alias)

resolveParameterMode

protected ParameterMode resolveParameterMode(String alias)

resolveClass

protected Class<?> resolveClass(String alias)

resolveTypeHandler

protected TypeHandler<?> resolveTypeHandler(Class<?> javaType,
                                            String typeHandlerAlias)

resolveTypeHandler

protected TypeHandler<?> resolveTypeHandler(Class<?> javaType,
                                            Class<?> typeHandlerType)

resolveAlias

protected Class<?> resolveAlias(String alias)


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