org.apache.taglibs.i18n
Class FormatDateTimeTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.taglibs.i18n.FormatTagSupport
org.apache.taglibs.i18n.FormatDateTagSupport
org.apache.taglibs.i18n.FormatDateTimeTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class FormatDateTimeTag
- extends FormatDateTagSupport
Formats a Date
instance using the default Date and Time formatter
for the current Locale
.
- Version:
- $Revision$
- Author:
- James Strachan
- See Also:
- Serialized Form
Field Summary |
protected static java.lang.String |
_tagname
|
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 |
protected java.text.Format |
getFormat()
Abstract class to return the value formatter |
void |
setDateStyle(java.lang.String style)
|
void |
setTimeStyle(java.lang.String style)
|
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, 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 |
_tagname
protected static final java.lang.String _tagname
- See Also:
- Constant Field Values
FormatDateTimeTag
public FormatDateTimeTag()
setDateStyle
public void setDateStyle(java.lang.String style)
setTimeStyle
public void setTimeStyle(java.lang.String style)
getFormat
protected java.text.Format getFormat()
- Description copied from class:
FormatTagSupport
- Abstract class to return the value formatter
- Specified by:
getFormat
in class FormatTagSupport
Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.