org.joda.time.contrib.jsptag
Class ParseDateTimeTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.joda.time.contrib.jsptag.ParseDateTimeSupport
org.joda.time.contrib.jsptag.ParseDateTimeTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class ParseDateTimeTag
- extends ParseDateTimeSupport
A handler for <parseDate> that supports rtexprvalue-based attributes.
- Author:
- Jan Luehe, Jim Newsham
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
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.String value)
Sets the value attribute. |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
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 |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
ParseDateTimeTag
public ParseDateTimeTag()
setValue
public void setValue(java.lang.String 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