|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.devyant.decorutils.decorators.DateDecorator
public class DateDecorator
Decorator for transforming Date instances
for example and utility purpose.
| Field Summary | |
|---|---|
static java.util.Locale |
DEFAULT_LOCALE
The DEFAULT_LOCALE Locale. |
| Constructor Summary | |
|---|---|
DateDecorator()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
decorate(java.lang.Object object)
The decorate method. |
void |
setFormat(java.lang.String format)
Setter method for the format attribute. |
void |
setPageContext(javax.servlet.jsp.PageContext pageContext)
Setter method for the pageContext attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.util.Locale DEFAULT_LOCALE
Locale.
| Constructor Detail |
|---|
public DateDecorator()
| Method Detail |
|---|
public final java.lang.Object decorate(java.lang.Object object)
decorate in interface Decoratorobject - Object to decorate
public final void setPageContext(javax.servlet.jsp.PageContext pageContext)
Setter method for the pageContext attribute.
pageContext - The page contextpublic final void setFormat(java.lang.String format)
Setter method for the format attribute.
format - The date format
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||