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

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

public class DynamicSql
extends java.lang.Object
implements Sql, DynamicParent


Constructor Summary
DynamicSql(SqlMapExecutorDelegate delegate)
           
 
Method Summary
 void addChild(SqlChild child)
           
 void cleanup(RequestScope request)
           
 ParameterMap getParameterMap(RequestScope request, java.lang.Object parameterObject)
           
 ResultMap getResultMap(RequestScope request, java.lang.Object parameterObject)
           
 java.lang.String getSql(RequestScope request, java.lang.Object parameterObject)
           
protected  void iteratePropertyReplace(java.lang.StringBuffer bodyContent, IterateContext iterate)
           
protected static void replace(java.lang.StringBuffer buffer, java.lang.String find, java.lang.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 java.lang.String getSql(RequestScope request,
                               java.lang.Object parameterObject)
Specified by:
getSql in interface Sql

getParameterMap

public ParameterMap getParameterMap(RequestScope request,
                                    java.lang.Object parameterObject)
Specified by:
getParameterMap in interface Sql

getResultMap

public ResultMap getResultMap(RequestScope request,
                              java.lang.Object parameterObject)
Specified by:
getResultMap in interface Sql

cleanup

public void cleanup(RequestScope request)
Specified by:
cleanup in interface Sql

iteratePropertyReplace

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

replace

protected static void replace(java.lang.StringBuffer buffer,
                              java.lang.String find,
                              java.lang.String replace)

addChild

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