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

Class DynamicSql

public class DynamicSql extends Object implements Sql, DynamicParent

Constructor Summary
DynamicSql(SqlMapExecutorDelegate delegate)
Method Summary
voidaddChild(SqlChild child)
voidcleanup(StatementScope statementScope)
ParameterMapgetParameterMap(StatementScope statementScope, Object parameterObject)
ResultMapgetResultMap(StatementScope statementScope, Object parameterObject)
StringgetSql(StatementScope statementScope, Object parameterObject)
protected voiditeratePropertyReplace(StringBuffer bodyContent, IterateContext iterate)
protected static voidreplace(StringBuffer buffer, String find, String replace)

Constructor Detail

DynamicSql

public DynamicSql(SqlMapExecutorDelegate delegate)

Method Detail

addChild

public void addChild(SqlChild child)

cleanup

public void cleanup(StatementScope statementScope)

getParameterMap

public ParameterMap getParameterMap(StatementScope statementScope, Object parameterObject)

getResultMap

public ResultMap getResultMap(StatementScope statementScope, Object parameterObject)

getSql

public String getSql(StatementScope statementScope, Object parameterObject)

iteratePropertyReplace

protected void iteratePropertyReplace(StringBuffer bodyContent, IterateContext iterate)

Parameters: bodyContent iterate

replace

protected static void replace(StringBuffer buffer, String find, String replace)
Copyright © 2011. All Rights Reserved.