org.apache.ibatis.builder.xml.dynamic.MixedSqlNode Maven / Gradle / Ivy
The newest version!
package org.apache.ibatis.builder.xml.dynamic;
import java.util.List;
public class MixedSqlNode implements SqlNode {
private List contents;
public MixedSqlNode(List contents) {
this.contents = contents;
}
public boolean apply(DynamicContext context) {
for (SqlNode sqlNode : contents) {
sqlNode.apply(context);
}
return true;
}
}