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

Class SqlTagContext

public class SqlTagContext extends Object

Constructor Summary
SqlTagContext()
Method Summary
voidaddParameterMapping(ParameterMapping mapping)
voiddisableRemoveFirstPrependMarker()
set a new internal state for top RemoveFirstPrependMarker object
ObjectgetAttribute(Object key)
StringgetBodyText()
ListgetParameterMappings()
PrintWritergetWriter()
booleanisEmptyRemoveFirtPrepend()
IterateContextpeekIterateContext()
iterate context is removed here from the stack when iterate tag is finished being processed
booleanpeekRemoveFirstPrependMarker(SqlTag sqlTag)
examine the value of the top RemoveFirstPrependMarker object on the stack.
IterateContextpopIterateContext()
iterate context is removed here from the stack when iterate tag is finished being processed
voidpopRemoveFirstPrependMarker(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.
voidpushIterateContext(IterateContext iterateContext)
iterate context is stored here for nested dynamic tags in the body of the iterate tag
voidpushRemoveFirstPrependMarker(SqlTag tag)
push a new RemoveFirstPrependMarker object with the specified internal state
voidreEnableRemoveFirstPrependMarker()
voidsetAttribute(Object key, Object value)

Constructor Detail

SqlTagContext

public SqlTagContext()

Method Detail

addParameterMapping

public void addParameterMapping(ParameterMapping mapping)

disableRemoveFirstPrependMarker

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

getAttribute

public Object getAttribute(Object key)

getBodyText

public String getBodyText()

getParameterMappings

public List getParameterMappings()

getWriter

public PrintWriter getWriter()

isEmptyRemoveFirtPrepend

public boolean isEmptyRemoveFirtPrepend()

peekIterateContext

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

Returns: the top element on the context stack

peekRemoveFirstPrependMarker

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

Returns: was the first prepend removed

popIterateContext

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

Returns: the top element of the context 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.

Parameters: tag

pushIterateContext

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

Parameters: iterateContext

pushRemoveFirstPrependMarker

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

Parameters: tag

reEnableRemoveFirstPrependMarker

public void reEnableRemoveFirstPrependMarker()

setAttribute

public void setAttribute(Object key, Object value)
Copyright © 2011. All Rights Reserved.