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 SqlTagContext  view SqlTagContext download SqlTagContext.java

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.mapping.sql.dynamic.elements.SqlTagContext

public class SqlTagContext
extends java.lang.Object


Field Summary
private  java.util.HashMap attributes
           
private  java.util.LinkedList iterateContextStack
           
private  java.io.PrintWriter out
           
private  boolean overridePrepend
           
private  java.util.ArrayList parameterMappings
           
private  java.util.LinkedList removeFirstPrependStack
           
private  java.io.StringWriter sw
           
 
Constructor Summary
SqlTagContext()
           
 
Method Summary
 void addParameterMapping(com.ibatis.sqlmap.engine.mapping.parameter.ParameterMapping mapping)
           
 void disableRemoveFirstPrependMarker()
          set a new internal state for top RemoveFirstPrependMarker object
 java.lang.Object getAttribute(java.lang.Object key)
           
 java.lang.String getBodyText()
           
 java.util.List getParameterMappings()
           
 java.io.PrintWriter getWriter()
           
 boolean isEmptyRemoveFirtPrepend()
           
 IterateContext peekIterateContext()
          iterate context is removed here from the stack when iterate tag is finished being processed
 boolean peekRemoveFirstPrependMarker(SqlTag sqlTag)
          examine the value of the top RemoveFirstPrependMarker object on the stack
 IterateContext popIterateContext()
          iterate context is removed here from the stack when iterate tag is finished being processed
 void popRemoveFirstPrependMarker(SqlTag tag)
          pop the first RemoveFirstPrependMarker once the recursion is on it's way out of the recursion loop and return it's internal value.
 void pushIterateContext(IterateContext iterateContext)
          iterate context is stored here for nested dynamic tags in the body of the iterate tag
 void pushRemoveFirstPrependMarker(SqlTag tag)
          push a new RemoveFirstPrependMarker object with the specified internal state
 void setAttribute(java.lang.Object key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sw

private java.io.StringWriter sw

out

private java.io.PrintWriter out

attributes

private java.util.HashMap attributes

removeFirstPrependStack

private java.util.LinkedList removeFirstPrependStack

iterateContextStack

private java.util.LinkedList iterateContextStack

overridePrepend

private boolean overridePrepend

parameterMappings

private java.util.ArrayList parameterMappings
Constructor Detail

SqlTagContext

public SqlTagContext()
Method Detail

getWriter

public java.io.PrintWriter getWriter()

getBodyText

public java.lang.String getBodyText()

setAttribute

public void setAttribute(java.lang.Object key,
                         java.lang.Object value)

getAttribute

public java.lang.Object getAttribute(java.lang.Object key)

addParameterMapping

public void addParameterMapping(com.ibatis.sqlmap.engine.mapping.parameter.ParameterMapping mapping)

getParameterMappings

public java.util.List getParameterMappings()

isEmptyRemoveFirtPrepend

public boolean isEmptyRemoveFirtPrepend()

peekRemoveFirstPrependMarker

public boolean peekRemoveFirstPrependMarker(SqlTag sqlTag)
examine the value of the top RemoveFirstPrependMarker object on the stack


popRemoveFirstPrependMarker

public void popRemoveFirstPrependMarker(SqlTag tag)
pop the first RemoveFirstPrependMarker once the recursion is on it's way out of the recursion loop and return it's internal value.


pushRemoveFirstPrependMarker

public void pushRemoveFirstPrependMarker(SqlTag tag)
push a new RemoveFirstPrependMarker object with the specified internal state


disableRemoveFirstPrependMarker

public void disableRemoveFirstPrependMarker()
set a new internal state for top RemoveFirstPrependMarker object


pushIterateContext

public void pushIterateContext(IterateContext iterateContext)
iterate context is stored here for nested dynamic tags in the body of the iterate tag


popIterateContext

public IterateContext popIterateContext()
iterate context is removed here from the stack when iterate tag is finished being processed


peekIterateContext

public IterateContext peekIterateContext()
iterate context is removed here from the stack when iterate tag is finished being processed