|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.apache.taglibs.dbtags.resultset.BaseGetterTag
org.apache.taglibs.dbtags.resultset.BaseDateTimeGetterTag
Base tag for getDate, getTime, and getTimestamp
Field Summary | |
protected java.lang.String |
_format
|
protected static java.util.HashMap |
_mapDateTimeStyle
|
Fields inherited from class org.apache.taglibs.dbtags.resultset.BaseGetterTag |
_attributeName, _locale, _metaData, _scope, _tag |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
BaseDateTimeGetterTag()
|
Method Summary | |
protected java.lang.String |
getDateAsString(int position,
int nType)
Returns a formatted Date as a String, or null if the database row was null |
void |
setFormat(java.lang.String strFormat)
|
Methods inherited from class org.apache.taglibs.dbtags.resultset.BaseGetterTag |
doEndTag, getLocale, getMetaData, getPosition, getResultSet, getResultSetTag, release, setAttribute, setColName, setLocale, setPosition, setPosition, setScope, setTo |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static java.util.HashMap _mapDateTimeStyle
protected java.lang.String _format
Constructor Detail |
public BaseDateTimeGetterTag()
Method Detail |
public void setFormat(java.lang.String strFormat)
protected java.lang.String getDateAsString(int position, int nType) throws javax.servlet.jsp.JspTagException
position
- position of the column in the ResultSetnType
- one of the following java.sql.Types: DATE, TIME, TIMESTAMP
javax.servlet.jsp.JspTagException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |