org.displaytag.decorator
Interface ColumnDecorator


Deprecated. as of Displaytag 1.1 replaced by org.displaytag.decorator.DisplaytagColumnDecorator

public interface ColumnDecorator

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. A column decorator is simply an object formatter, and it is only aware of the value to format.

Version:
$Revision: 1081 $ ($Author: fgiust $)
Author:
epesh, Fabrizio Giustina

Method Summary
 java.lang.String decorate(java.lang.Object columnValue)
          Deprecated. Called after the object has been retrieved from the bean contained in the list.
 

Method Detail

decorate

java.lang.String decorate(java.lang.Object columnValue)
                          throws DecoratorException
Deprecated. 
Called after the object has been retrieved from the bean contained in the list. The decorate method is responsible for transforming the object into a string to render in the page.

Parameters:
columnValue - Object to decorate
Returns:
String decorated object
Throws:
DecoratorException - wrapper exception for any exception thrown during decoration


Copyright © 2002-2007 the Displaytag team. All Rights Reserved.