Package org.apache.ibatis.builder.xml
Class XMLMapperBuilder
- java.lang.Object
-
- org.apache.ibatis.builder.BaseBuilder
-
- org.apache.ibatis.builder.xml.XMLMapperBuilder
-
public class XMLMapperBuilder extends BaseBuilder
- Author:
- Clinton Begin, Kazuki Shimizu
-
-
Field Summary
-
Fields inherited from class org.apache.ibatis.builder.BaseBuilder
configuration, typeAliasRegistry, typeHandlerRegistry
-
-
Constructor Summary
Constructors Constructor Description XMLMapperBuilder(java.io.InputStream inputStream, Configuration configuration, java.lang.String resource, java.util.Map<java.lang.String,XNode> sqlFragments)
XMLMapperBuilder(java.io.InputStream inputStream, Configuration configuration, java.lang.String resource, java.util.Map<java.lang.String,XNode> sqlFragments, java.lang.String namespace)
XMLMapperBuilder(java.io.Reader reader, Configuration configuration, java.lang.String resource, java.util.Map<java.lang.String,XNode> sqlFragments)
Deprecated.XMLMapperBuilder(java.io.Reader reader, Configuration configuration, java.lang.String resource, java.util.Map<java.lang.String,XNode> sqlFragments, java.lang.String namespace)
Deprecated.
-
Method Summary
Modifier and Type Method Description XNode
getSqlFragment(java.lang.String refid)
protected java.lang.Class<?>
inheritEnclosingType(XNode resultMapNode, java.lang.Class<?> enclosingType)
void
parse()
protected void
validateCollection(XNode context, java.lang.Class<?> enclosingType)
-
Methods inherited from class org.apache.ibatis.builder.BaseBuilder
booleanValueOf, createInstance, getConfiguration, integerValueOf, parseExpression, resolveAlias, resolveClass, resolveJdbcType, resolveParameterMode, resolveResultSetType, resolveTypeHandler, resolveTypeHandler, stringSetValueOf
-
-
-
-
Constructor Detail
-
XMLMapperBuilder
@Deprecated public XMLMapperBuilder(java.io.Reader reader, Configuration configuration, java.lang.String resource, java.util.Map<java.lang.String,XNode> sqlFragments, java.lang.String namespace)
Deprecated.
-
XMLMapperBuilder
@Deprecated public XMLMapperBuilder(java.io.Reader reader, Configuration configuration, java.lang.String resource, java.util.Map<java.lang.String,XNode> sqlFragments)
Deprecated.
-
XMLMapperBuilder
public XMLMapperBuilder(java.io.InputStream inputStream, Configuration configuration, java.lang.String resource, java.util.Map<java.lang.String,XNode> sqlFragments, java.lang.String namespace)
-
XMLMapperBuilder
public XMLMapperBuilder(java.io.InputStream inputStream, Configuration configuration, java.lang.String resource, java.util.Map<java.lang.String,XNode> sqlFragments)
-
-
Method Detail
-
parse
public void parse()
-
getSqlFragment
public XNode getSqlFragment(java.lang.String refid)
-
inheritEnclosingType
protected java.lang.Class<?> inheritEnclosingType(XNode resultMapNode, java.lang.Class<?> enclosingType)
-
validateCollection
protected void validateCollection(XNode context, java.lang.Class<?> enclosingType)
-
-