org.displaytag.decorator
Class AutolinkColumnDecorator
java.lang.Object
org.displaytag.decorator.AutolinkColumnDecorator
- All Implemented Interfaces:
- DisplaytagColumnDecorator
public class AutolinkColumnDecorator
- extends java.lang.Object
- implements DisplaytagColumnDecorator
This takes the string that is passed in, and "auto-links" it, it turns email addresses into hyperlinks, and also
turns things that looks like URLs into hyperlinks as well.
- Version:
- $Revision: 1081 $ ($Author: fgiust $)
- Author:
- Fabrizio Giustina
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final DisplaytagColumnDecorator INSTANCE
- Instance used for the "autolink" tag attribute.
AutolinkColumnDecorator
public AutolinkColumnDecorator()
decorate
public java.lang.Object decorate(java.lang.Object columnValue,
javax.servlet.jsp.PageContext pageContext,
MediaTypeEnum media)
- Description copied from interface:
DisplaytagColumnDecorator
- 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.
- Specified by:
decorate in interface DisplaytagColumnDecorator
- Parameters:
columnValue - Object to decoratepageContext - jsp page contextmedia - current media (html, pdf, excel...)
- Returns:
- Object decorated object
- See Also:
DisplaytagColumnDecorator.decorate(Object, PageContext, MediaTypeEnum)
Copyright © 2002-2007 the Displaytag team. All Rights Reserved.