com.ibatis.sqlmap.engine.builder.xml
Class BaseParser

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.builder.xml.BaseParser
Direct Known Subclasses:
SqlMapConfigParser, SqlMapParser, SqlStatementParser

public abstract class BaseParser
extends java.lang.Object


Nested Class Summary
protected static class BaseParser.Variables
          Variables the parser uses.
 
Field Summary
protected  BaseParser.Variables vars
           
 
Constructor Summary
protected BaseParser(BaseParser.Variables vars)
           
 
Method Summary
 java.lang.String applyNamespace(java.lang.String id)
           
 TypeHandler resolveTypeHandler(TypeHandlerFactory typeHandlerFactory, java.lang.Class clazz, java.lang.String propertyName, java.lang.String javaType, java.lang.String jdbcType)
           
 TypeHandler resolveTypeHandler(TypeHandlerFactory typeHandlerFactory, java.lang.Class clazz, java.lang.String propertyName, java.lang.String javaType, java.lang.String jdbcType, boolean useSetterToResolve)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vars

protected final BaseParser.Variables vars
Constructor Detail

BaseParser

protected BaseParser(BaseParser.Variables vars)
Method Detail

resolveTypeHandler

public TypeHandler resolveTypeHandler(TypeHandlerFactory typeHandlerFactory,
                                      java.lang.Class clazz,
                                      java.lang.String propertyName,
                                      java.lang.String javaType,
                                      java.lang.String jdbcType)

resolveTypeHandler

public TypeHandler resolveTypeHandler(TypeHandlerFactory typeHandlerFactory,
                                      java.lang.Class clazz,
                                      java.lang.String propertyName,
                                      java.lang.String javaType,
                                      java.lang.String jdbcType,
                                      boolean useSetterToResolve)

applyNamespace

public java.lang.String applyNamespace(java.lang.String id)