org.joda.time.contrib.jsptag
Class FormatTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.joda.time.contrib.jsptag.FormatSupport
org.joda.time.contrib.jsptag.FormatTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class FormatTag
- extends FormatSupport
A handler for <format> that supports rtexprvalue-based attributes.
- Author:
- Jan Luehe, Jim Newsham
- See Also:
- Serialized Form
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 |
Method Summary |
void |
setDateTimeZone(java.lang.Object dtz)
Sets the zone attribute. |
void |
setLocale(java.lang.Object loc)
Sets the style attribute. |
void |
setPattern(java.lang.String pattern)
Sets the pattern attribute. |
void |
setStyle(java.lang.String style)
Sets the style attribute. |
void |
setValue(java.lang.Object value)
Sets the value attribute. |
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 |
FormatTag
public FormatTag()
setValue
public void setValue(java.lang.Object value)
throws javax.servlet.jsp.JspTagException
- Sets the value attribute.
- Parameters:
value
- the value
- Throws:
javax.servlet.jsp.JspTagException
setStyle
public void setStyle(java.lang.String style)
throws javax.servlet.jsp.JspTagException
- Sets the style attribute.
- Parameters:
style
- the style
- Throws:
javax.servlet.jsp.JspTagException
setPattern
public void setPattern(java.lang.String pattern)
throws javax.servlet.jsp.JspTagException
- Sets the pattern attribute.
- Parameters:
pattern
- the pattern
- Throws:
javax.servlet.jsp.JspTagException
setDateTimeZone
public void setDateTimeZone(java.lang.Object dtz)
throws javax.servlet.jsp.JspTagException
- Sets the zone attribute.
- Parameters:
dtz
- the zone
- Throws:
javax.servlet.jsp.JspTagException
setLocale
public void setLocale(java.lang.Object loc)
throws javax.servlet.jsp.JspTagException
- Sets the style attribute.
- Parameters:
loc
- the locale
- Throws:
javax.servlet.jsp.JspTagException