public class DateFormatter extends VarSetterBaseTag
| Constructor and Description |
|---|
DateFormatter() |
| Modifier and Type | Method and Description |
|---|---|
int |
doStartTag()
This evaluates value as a struts expression, then outputs the resulting string to the
pageContext's out.
|
Boolean |
getShowTime()
Getter for property showTime.
|
Boolean |
getTime()
Getter for property time.
|
Long |
getValue() |
void |
release()
Reset the values of the tag.
|
void |
setShowTime(Boolean showTime)
Setter for property showTime.
|
void |
setTime(Boolean time)
Setter for property time.
|
void |
setValue(Long v) |
getVar, setScope, setScopedVariable, setVarpublic Long getValue()
public void setValue(Long v)
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspExceptionpublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class VarSetterBaseTagpublic Boolean getTime()
public void setTime(Boolean time)
time - New value of property time.public Boolean getShowTime()
public void setShowTime(Boolean showTime)
time - New value of property showTime.Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.