public class ParseDateTag extends BodyTagSupport
bodyContentid, pageContextEVAL_BODY_BUFFERED, EVAL_BODY_TAGEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
ParseDateTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag()
Process the tag.
|
static int |
getDateStyle(java.lang.String style) |
protected java.text.DateFormat |
getFormat() |
void |
setDateStyle(Expr style)
Sets the date style (full, short, etc.)
|
void |
setParseLocale(Expr locale)
Sets the parse locale
|
void |
setPattern(Expr pattern)
Sets the formatting pattern.
|
void |
setScope(java.lang.String scope)
Sets the variable scope.
|
void |
setTimeStyle(Expr style)
Sets the time style (full, short, etc.)
|
void |
setTimeZone(Expr zone)
Sets the time zone.
|
void |
setType(Expr type)
Sets the date/time type.
|
void |
setValue(Expr value)
Sets the formatting value.
|
void |
setVar(java.lang.String var)
Sets the variable name.
|
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParent, setPageContext, setParentpublic void setValue(Expr value)
value - the JSP-EL expression for the value.public void setType(Expr type)
type - the date/time type.public void setDateStyle(Expr style)
style - the date stylepublic void setTimeStyle(Expr style)
style - the time stylepublic void setPattern(Expr pattern)
pattern - the formatting pattern.public void setTimeZone(Expr zone)
zone - the time zone expressionpublic void setParseLocale(Expr locale)
locale - the localepublic void setVar(java.lang.String var)
var - the variable name to store the value in.public void setScope(java.lang.String scope)
scope - the variable scope to store the value in.public int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class TagSupportJspExceptionprotected java.text.DateFormat getFormat()
throws JspException,
ELException
JspExceptionELExceptionpublic static int getDateStyle(java.lang.String style)
throws JspException
JspException