public class DateDecorator extends BaseDecorator
| Modifier and Type | Field and Description |
|---|---|
protected String |
bundle |
static String |
defaultKey |
columnTag| Constructor and Description |
|---|
DateDecorator() |
| Modifier and Type | Method and Description |
|---|---|
String |
decorate(Object obj)
Decorates a date represented as a long.
|
String |
getActive() |
javax.servlet.jsp.PageContext |
getContext() |
String |
getFormat() |
Boolean |
getIsElapsedTime()
Getter for property isElapsedTime.
|
String |
getIsGroup()
If this is a group, display "DIFFERENT" if the metric interval value is "0".
|
String |
getResourceKeyForNull() |
void |
setActive(String active) |
void |
setContext(javax.servlet.jsp.PageContext context) |
void |
setFormat(String format) |
void |
setIsElapsedTime(Boolean isElapsedTime)
Setter for property isElapsedTime.
|
void |
setIsGroup(String el)
Setter for property isGroup.
|
void |
setResourceKeyForNull(String resourceKeyForNull) |
doEndTag, doStartTag, evalAttr, generateErrorComment, getName, getParent, release, setName, setParentgetColumnTag, setColumnTagfinish, finishRow, getList, getListIndex, getObject, getPageContext, getViewIndex, init, initRow, setPageContextpublic static final String defaultKey
protected String bundle
public String decorate(Object obj)
decorate in class BaseDecoratorobj - a long representing the time as a longpublic Boolean getIsElapsedTime()
public void setIsElapsedTime(Boolean isElapsedTime)
isElapsedTime - New value of property isElapsedTime.public String getIsGroup()
public void setIsGroup(String el)
isGroup - New value of property isGroup.public javax.servlet.jsp.PageContext getContext()
public void setContext(javax.servlet.jsp.PageContext context)
public String getActive()
public void setActive(String active)
active - The active to set.public String getResourceKeyForNull()
public void setResourceKeyForNull(String resourceKeyForNull)
public String getFormat()
public void setFormat(String format)
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.