Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.ibatis.sqlmap.engine.mapping.sql.dynamic.elements
Class BaseTagHandler  view BaseTagHandler download BaseTagHandler.java

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.mapping.sql.dynamic.elements.BaseTagHandler
All Implemented Interfaces:
SqlTagHandler
Direct Known Subclasses:
ConditionalTagHandler, DynamicTagHandler, IterateTagHandler

public abstract class BaseTagHandler
extends java.lang.Object
implements SqlTagHandler


Field Summary
 
Fields inherited from interface com.ibatis.sqlmap.engine.mapping.sql.dynamic.elements.SqlTagHandler
INCLUDE_BODY, REPEAT_BODY, SKIP_BODY
 
Constructor Summary
BaseTagHandler()
           
 
Method Summary
 int doEndFragment(SqlTagContext ctx, SqlTag tag, java.lang.Object parameterObject, java.lang.StringBuffer bodyContent)
           
 void doPrepend(SqlTagContext ctx, SqlTag tag, java.lang.Object parameterObject, java.lang.StringBuffer bodyContent)
           
 int doStartFragment(SqlTagContext ctx, SqlTag tag, 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

BaseTagHandler

public BaseTagHandler()
Method Detail

doStartFragment

public int doStartFragment(SqlTagContext ctx,
                           SqlTag tag,
                           java.lang.Object parameterObject)
Specified by:
doStartFragment in interface SqlTagHandler

doEndFragment

public int doEndFragment(SqlTagContext ctx,
                         SqlTag tag,
                         java.lang.Object parameterObject,
                         java.lang.StringBuffer bodyContent)
Specified by:
doEndFragment in interface SqlTagHandler

doPrepend

public void doPrepend(SqlTagContext ctx,
                      SqlTag tag,
                      java.lang.Object parameterObject,
                      java.lang.StringBuffer bodyContent)
Specified by:
doPrepend in interface SqlTagHandler

replace

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

iteratePropertyReplace

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