com.ibatis.sqlmap.engine.mapping.sql.dynamic
Class DynamicSql

java.lang.Object
  extended by com.ibatis.sqlmap.engine.mapping.sql.dynamic.DynamicSql
All Implemented Interfaces:
DynamicParent, Sql

public class DynamicSql
extends Object
implements Sql, DynamicParent


Constructor Summary
DynamicSql(SqlMapExecutorDelegate delegate)
           
 
Method Summary
 void addChild(SqlChild child)
           
 void cleanup(StatementScope statementScope)
           
 ParameterMap getParameterMap(StatementScope statementScope, Object parameterObject)
           
 ResultMap getResultMap(StatementScope statementScope, Object parameterObject)
           
 String getSql(StatementScope statementScope, Object parameterObject)
           
protected  void iteratePropertyReplace(StringBuffer bodyContent, IterateContext iterate)
           
protected static void replace(StringBuffer buffer, String find, String replace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicSql

public DynamicSql(SqlMapExecutorDelegate delegate)
Method Detail

getSql

public String getSql(StatementScope statementScope,
                     Object parameterObject)
Specified by:
getSql in interface Sql

getParameterMap

public ParameterMap getParameterMap(StatementScope statementScope,
                                    Object parameterObject)
Specified by:
getParameterMap in interface Sql

getResultMap

public ResultMap getResultMap(StatementScope statementScope,
                              Object parameterObject)
Specified by:
getResultMap in interface Sql

cleanup

public void cleanup(StatementScope statementScope)
Specified by:
cleanup in interface Sql

iteratePropertyReplace

protected void iteratePropertyReplace(StringBuffer bodyContent,
                                      IterateContext iterate)
Parameters:
bodyContent -
iterate -

replace

protected static void replace(StringBuffer buffer,
                              String find,
                              String replace)

addChild

public void addChild(SqlChild child)
Specified by:
addChild in interface DynamicParent


Copyright © 2010. All Rights Reserved.