public class FormatDateTag extends FormatDateSupport
A handler for <formatDate> that accepts attributes as Strings and evaluates them as expressions at runtime.
dateStyle, pattern, timeStyle, timeZone, type, value
id, pageContext
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
FormatDateTag()
Constructs a new FormatDateTag.
|
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Default processing of the start tag, returning SKIP_BODY.
|
void |
release()
Release state.
|
void |
setDateStyle(java.lang.String dateStyle_) |
void |
setPattern(java.lang.String pattern_) |
void |
setTimeStyle(java.lang.String timeStyle_) |
void |
setTimeZone(java.lang.String timeZone_) |
void |
setType(java.lang.String type_) |
void |
setValue(java.lang.String value_) |
doEndTag, setScope, setVar
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
public FormatDateTag()
public int doStartTag() throws JspException
TagSupport
doStartTag
in interface Tag
doStartTag
in class TagSupport
JspException
- if an error occurs while processing this tagTag.doStartTag()
public void release()
TagSupport
release
in interface Tag
release
in class FormatDateSupport
Tag.release()
public void setValue(java.lang.String value_)
public void setType(java.lang.String type_)
public void setDateStyle(java.lang.String dateStyle_)
public void setTimeStyle(java.lang.String timeStyle_)
public void setPattern(java.lang.String pattern_)
public void setTimeZone(java.lang.String timeZone_)