net.sf.jameleon.sql
Class SqlParamValueTag

java.lang.Object
  extended by org.apache.commons.jelly.TagSupport
      extended by net.sf.jameleon.AbstractParamElementTag
          extended by net.sf.jameleon.ParamValueTag
              extended by net.sf.jameleon.sql.SqlParamValueTag
All Implemented Interfaces:
Tag

public class SqlParamValueTag
extends ParamValueTag

Used for set value of a sql-param. An example might be:


 <sql-update 
   functionId="Insert a row into test table via a prepared statement with multiple param values"
     sqlUpdateSql="insert into test(test_str, test_str2) values(?,?)"/>
       <sql-param>
         <sql-param-value>text2>/sql-param-value>
         <sql-param-value>text3>/sql-param-value>
       </sql-param>
 </sql-update>
 

Tag Name: <sql-param-value>

Field Summary
 
Fields inherited from class net.sf.jameleon.AbstractParamElementTag
decodeXMLToText, fromVariable, parentTag, text
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
SqlParamValueTag()
           
 
Method Summary
protected  void validateParentTag()
           
 
Methods inherited from class net.sf.jameleon.ParamValueTag
doTag
 
Methods inherited from class net.sf.jameleon.AbstractParamElementTag
setDecodeXMLToText, setFromVariable, validate, validateParam
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlParamValueTag

public SqlParamValueTag()
Method Detail

validateParentTag

protected void validateParentTag()
                          throws JellyTagException
Overrides:
validateParentTag in class AbstractParamElementTag
Throws:
JellyTagException


Copyright © 2003-2008 Christian Hargraves. All Rights Reserved.