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

java.lang.Object
  extended by com.ibatis.sqlmap.engine.builder.xml.XmlParserState

public class XmlParserState
extends Object


Constructor Summary
XmlParserState()
           
 
Method Summary
 String applyNamespace(String id)
           
 String[] getAllButFirstToken(String s)
           
 CacheModelConfig getCacheConfig()
           
 Properties getCacheProps()
           
 SqlMapConfiguration getConfig()
           
 DataSource getDataSource()
           
 Properties getDsProps()
           
 String getFirstToken(String s)
           
 Properties getGlobalProps()
           
 ParameterMapConfig getParamConfig()
           
 ResultMapConfig getResultConfig()
           
 Map getSqlIncludes()
           
 Properties getTxProps()
           
 boolean isUseStatementNamespaces()
           
 void setCacheConfig(CacheModelConfig cacheConfig)
           
 void setDataSource(DataSource dataSource)
           
 void setGlobalProperties(String resource, String url)
           
 void setGlobalProps(Properties props)
           
 void setNamespace(String namespace)
           
 void setParamConfig(ParameterMapConfig paramConfig)
           
 void setResultConfig(ResultMapConfig resultConfig)
           
 void setUseStatementNamespaces(boolean useStatementNamespaces)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlParserState

public XmlParserState()
Method Detail

getConfig

public SqlMapConfiguration getConfig()

setGlobalProps

public void setGlobalProps(Properties props)

getGlobalProps

public Properties getGlobalProps()

getTxProps

public Properties getTxProps()

getDsProps

public Properties getDsProps()

getCacheProps

public Properties getCacheProps()

setUseStatementNamespaces

public void setUseStatementNamespaces(boolean useStatementNamespaces)

isUseStatementNamespaces

public boolean isUseStatementNamespaces()

getSqlIncludes

public Map getSqlIncludes()

setNamespace

public void setNamespace(String namespace)

applyNamespace

public String applyNamespace(String id)

getCacheConfig

public CacheModelConfig getCacheConfig()

setCacheConfig

public void setCacheConfig(CacheModelConfig cacheConfig)

getParamConfig

public ParameterMapConfig getParamConfig()

setParamConfig

public void setParamConfig(ParameterMapConfig paramConfig)

getResultConfig

public ResultMapConfig getResultConfig()

setResultConfig

public void setResultConfig(ResultMapConfig resultConfig)

getFirstToken

public String getFirstToken(String s)

getAllButFirstToken

public String[] getAllButFirstToken(String s)

setGlobalProperties

public void setGlobalProperties(String resource,
                                String url)

getDataSource

public DataSource getDataSource()

setDataSource

public void setDataSource(DataSource dataSource)


Copyright © 2010. All Rights Reserved.