org.apache.commons.jelly.tags.sql
Class DateParamTag
java.lang.Object
org.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.sql.DateParamTag
- All Implemented Interfaces:
- org.apache.commons.jelly.Tag
- public class DateParamTag
- extends org.apache.commons.jelly.TagSupport
Tag handler for <Param> in JSTL, used to set
parameter values for a SQL statement.
- Author:
- Justyna Horwat
Field Summary |
private static java.lang.String |
DATE_TYPE
|
private static java.lang.String |
TIME_TYPE
|
private static java.lang.String |
TIMESTAMP_TYPE
|
protected java.lang.String |
type
|
protected java.util.Date |
value
|
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Method Summary |
private void |
convertValue()
|
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
void |
setType(java.lang.String type)
|
void |
setValue(java.sql.Date value)
|
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 |
TIMESTAMP_TYPE
private static final java.lang.String TIMESTAMP_TYPE
- See Also:
- Constant Field Values
TIME_TYPE
private static final java.lang.String TIME_TYPE
- See Also:
- Constant Field Values
DATE_TYPE
private static final java.lang.String DATE_TYPE
- See Also:
- Constant Field Values
type
protected java.lang.String type
value
protected java.util.Date value
DateParamTag
public DateParamTag()
setValue
public void setValue(java.sql.Date value)
setType
public void setType(java.lang.String type)
doTag
public void doTag(org.apache.commons.jelly.XMLOutput output)
throws org.apache.commons.jelly.JellyTagException
- Throws:
org.apache.commons.jelly.JellyTagException
convertValue
private void convertValue()
throws org.apache.commons.jelly.JellyTagException
- Throws:
org.apache.commons.jelly.JellyTagException