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(String dateStyle_) |
void |
setPattern(String pattern_) |
void |
setTimeStyle(String timeStyle_) |
void |
setTimeZone(String timeZone_) |
void |
setType(String type_) |
void |
setValue(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(String value_)
public void setType(String type_)
public void setDateStyle(String dateStyle_)
public void setTimeStyle(String timeStyle_)
public void setPattern(String pattern_)
public void setTimeZone(String timeZone_)
Copyright © 2018 JBoss by Red Hat. All rights reserved.