org.hyperic.hq.ui.taglib
Class DateFormatter
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.hyperic.hq.ui.taglib.VarSetterBaseTag
org.hyperic.hq.ui.taglib.DateFormatter
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class DateFormatter
- extends VarSetterBaseTag
Tag that will take a value that is a long, or a runtime expression, and
output a date representation of that long.
- 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 |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, 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 |
DateFormatter
public DateFormatter()
getValue
public java.lang.Long getValue()
setValue
public void setValue(java.lang.Long v)
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- This evaluates value as a struts expression, then outputs the
resulting string to the pageContext's out.
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
release
public void release()
- Description copied from class:
VarSetterBaseTag
- Release tag state.
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class VarSetterBaseTag
getTime
public java.lang.Boolean getTime()
setTime
public void setTime(java.lang.Boolean time)
getApprox
public java.lang.Boolean getApprox()
setApprox
public void setApprox(java.lang.Boolean approx)
getShowDate
public java.lang.Boolean getShowDate()
setShowDate
public void setShowDate(java.lang.Boolean showDate)
getShowTime
public java.lang.Boolean getShowTime()
setShowTime
public void setShowTime(java.lang.Boolean showTime)
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.