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

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.builder.xml.BaseParser.Variables
Enclosing class:
BaseParser

protected static class BaseParser.Variables
extends java.lang.Object

Variables the parser uses. This "struct" like class is necessary because anonymous inner classes do not have access to non-final member fields of the parent class. This way, we can make the Variables instance final, and use all of its public fields as variables for parsing state.


Field Summary
 ExtendedSqlMapClient client
           
 CacheModel currentCacheModel
           
 java.lang.String currentNamespace
           
 BasicParameterMap currentParameterMap
           
 java.util.Properties currentProperties
           
 java.lang.String currentResource
           
 BasicResultMap currentResultMap
           
 MappedStatement currentStatement
           
 javax.sql.DataSource dataSource
           
 java.lang.Integer defaultStatementTimeout
           
 SqlMapExecutorDelegate delegate
           
 Discriminator discriminator
           
 java.util.Properties dsProps
           
 ErrorContext errorContext
           
 ErrorContext errorCtx
           
 java.util.List parameterMappingList
           
 java.util.Properties properties
           
 int resultMappingIndex
           
 java.util.List resultMappingList
           
 java.util.Map sqlIncludes
           
 XmlConverter sqlMapConfigConv
           
 XmlConverter sqlMapConv
           
 java.util.Properties txProps
           
 TypeHandlerFactory typeHandlerFactory
           
 boolean useStatementNamespaces
           
 
Constructor Summary
protected BaseParser.Variables()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

errorCtx

public ErrorContext errorCtx

txProps

public java.util.Properties txProps

dsProps

public java.util.Properties dsProps

errorContext

public ErrorContext errorContext

properties

public java.util.Properties properties

sqlMapConv

public XmlConverter sqlMapConv

sqlMapConfigConv

public XmlConverter sqlMapConfigConv

currentResource

public java.lang.String currentResource

currentNamespace

public java.lang.String currentNamespace

client

public ExtendedSqlMapClient client

delegate

public SqlMapExecutorDelegate delegate

typeHandlerFactory

public TypeHandlerFactory typeHandlerFactory

dataSource

public javax.sql.DataSource dataSource

useStatementNamespaces

public boolean useStatementNamespaces

defaultStatementTimeout

public java.lang.Integer defaultStatementTimeout

currentProperties

public java.util.Properties currentProperties

currentCacheModel

public CacheModel currentCacheModel

currentResultMap

public BasicResultMap currentResultMap

currentParameterMap

public BasicParameterMap currentParameterMap

currentStatement

public MappedStatement currentStatement

parameterMappingList

public java.util.List parameterMappingList

resultMappingList

public java.util.List resultMappingList

resultMappingIndex

public int resultMappingIndex

sqlIncludes

public java.util.Map sqlIncludes

discriminator

public Discriminator discriminator
Constructor Detail

BaseParser.Variables

protected BaseParser.Variables()