org.apache.ibatis.scripting.xmltags
Class TrimSqlNode

java.lang.Object
  extended by org.apache.ibatis.scripting.xmltags.TrimSqlNode
All Implemented Interfaces:
SqlNode
Direct Known Subclasses:
SetSqlNode, WhereSqlNode

public class TrimSqlNode
extends Object
implements SqlNode


Constructor Summary
protected TrimSqlNode(Configuration configuration, SqlNode contents, String prefix, List<String> prefixesToOverride, String suffix, List<String> suffixesToOverride)
           
  TrimSqlNode(Configuration configuration, SqlNode contents, String prefix, String prefixesToOverride, String suffix, String suffixesToOverride)
           
 
Method Summary
 boolean apply(DynamicContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrimSqlNode

public TrimSqlNode(Configuration configuration,
                   SqlNode contents,
                   String prefix,
                   String prefixesToOverride,
                   String suffix,
                   String suffixesToOverride)

TrimSqlNode

protected TrimSqlNode(Configuration configuration,
                      SqlNode contents,
                      String prefix,
                      List<String> prefixesToOverride,
                      String suffix,
                      List<String> suffixesToOverride)
Method Detail

apply

public boolean apply(DynamicContext context)
Specified by:
apply in interface SqlNode


Copyright © 2010-2014 MyBatis.org. All Rights Reserved.