Package org.apache.ibatis.builder
Class BaseBuilder
java.lang.Object
org.apache.ibatis.builder.BaseBuilder
- Direct Known Subclasses:
MapperBuilderAssistant
,SqlSourceBuilder
,XMLConfigBuilder
,XMLMapperBuilder
,XMLScriptBuilder
,XMLStatementBuilder
- Author:
- Clinton Begin
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Configuration
protected final TypeAliasRegistry
protected final TypeHandlerRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Boolean
booleanValueOf
(String value, Boolean defaultValue) protected Object
createInstance
(String alias) 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) stringSetValueOf
(String value, String defaultValue)
-
Field Details
-
configuration
-
typeAliasRegistry
-
typeHandlerRegistry
-
-
Constructor Details
-
BaseBuilder
-
-
Method Details
-
getConfiguration
-
parseExpression
-
booleanValueOf
-
integerValueOf
-
stringSetValueOf
-
resolveJdbcType
-
resolveResultSetType
-
resolveParameterMode
-
createInstance
-
resolveClass
-
resolveTypeHandler
-
resolveTypeHandler
protected TypeHandler<?> resolveTypeHandler(Class<?> javaType, Class<? extends TypeHandler<?>> typeHandlerType) -
resolveAlias
-