Package org.apache.ibatis.builder
Class BaseBuilder
- java.lang.Object
-
- org.apache.ibatis.builder.BaseBuilder
-
- Direct Known Subclasses:
MapperBuilderAssistant
,SqlSourceBuilder
,XMLConfigBuilder
,XMLMapperBuilder
,XMLScriptBuilder
,XMLStatementBuilder
public abstract class BaseBuilder extends Object
- Author:
- Clinton Begin
-
-
Field Summary
Fields Modifier and Type Field Description protected Configuration
configuration
protected TypeAliasRegistry
typeAliasRegistry
protected TypeHandlerRegistry
typeHandlerRegistry
-
Constructor Summary
Constructors Constructor Description BaseBuilder(Configuration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Boolean
booleanValueOf(String value, Boolean defaultValue)
protected Object
createInstance(String alias)
Configuration
getConfiguration()
protected Integer
integerValueOf(String value, Integer defaultValue)
protected Pattern
parseExpression(String regex, String defaultValue)
protected <T> Class<? extends T>
resolveAlias(String alias)
protected <T> Class<? extends T>
resolveClass(String alias)
protected JdbcType
resolveJdbcType(String alias)
protected ParameterMode
resolveParameterMode(String alias)
protected ResultSetType
resolveResultSetType(String alias)
protected TypeHandler<?>
resolveTypeHandler(Class<?> javaType, Class<? extends TypeHandler<?>> typeHandlerType)
protected TypeHandler<?>
resolveTypeHandler(Class<?> javaType, String typeHandlerAlias)
protected Set<String>
stringSetValueOf(String value, String defaultValue)
-
-
-
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()
-
resolveResultSetType
protected ResultSetType resolveResultSetType(String alias)
-
resolveParameterMode
protected ParameterMode resolveParameterMode(String alias)
-
resolveTypeHandler
protected TypeHandler<?> resolveTypeHandler(Class<?> javaType, String typeHandlerAlias)
-
resolveTypeHandler
protected TypeHandler<?> resolveTypeHandler(Class<?> javaType, Class<? extends TypeHandler<?>> typeHandlerType)
-
-