|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DisplaytagColumnDecorator
Interface for simple column decorators.
A column decorator is called after the object has been retrieved and it can "transform" the object before the rendering.
The DisplaytagColumnDecorator interface has been introduced in displaytag 1.1 and replaces the
previous ColumnDecorator interface, adding the pageContext and media parameters, and changing the
return type to object to allow decorator chaining.
| Method Summary | |
|---|---|
java.lang.Object |
decorate(java.lang.Object columnValue,
javax.servlet.jsp.PageContext pageContext,
MediaTypeEnum media)
Called after the object has been retrieved from the bean contained in the list. |
| Method Detail |
|---|
java.lang.Object decorate(java.lang.Object columnValue,
javax.servlet.jsp.PageContext pageContext,
MediaTypeEnum media)
throws DecoratorException
columnValue - Object to decoratepageContext - jsp page contextmedia - current media (html, pdf, excel...)
DecoratorException - wrapper exception for any exception thrown during decoration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||